Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 main.dwt and the cart pages Q
Author « Topic »  

coastalem
New Member

63 Posts

Pre-sales questions only
(More Details...)

Posted - 10/08/2019 :  11:40:33  
Hi,

Updating ASP site to Prem Responsive Felicity template.

I have thus far (need to say this before the Qs)

Made copy of access DB with new name, updated the dbconn for felicity ect, updated the version of the DB to current 7.0.6, have all the felicity files in root and is talking to the DB just fine. When updated the new dB copy I had the felicity includes and files loaded in root. I also changed the path in the admin of the new DB to point to root and not to /shop so that is taken care of in the DB admin table unless there is something else needed change in db.

Side note: my existing store is in /shop and still working fine with the old DB which is not updated. No Q here just a comment just in case it matters

Where I need input:

Please look at emsplace dot com / default.asp and you will see the felicity template as expected with my categories on the side from the DB as I would expect (good), BUT

a) When you click on the TEST FELICITY left nav you get a 404 error
b) when you click the next one down, MUGS and BOWLS, it come up, BUT it goes to /shop products and doesn't stay in root.
I suspect the reason a) throws the 404 is it is looking in /shop and there is no "test felicity" category there?

c) The upper horizontal nav bar was not affected by anything, and still shows the felicity default menu. When you click the home, about, categories and links under services they direct just fine (good) to the root pages. BUT, when you click cart it goes to the /shop directory which I think is /shop/index.asp and the Product links throws a 404.

d) Do I understand correctly that the top nav links are hard coded in the template file?

Which now brings me to the main.dwt file in template directory. I can change things there but the felicity cart files are not reflecting the changes.
For example here is the head section of the root felicity default.asp file

<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
<!--#include file="vsadmin/inc/metainfo.asp"--><!DOCTYPE html><html lang="en">
<!-- #BeginTemplate "/Templates/main.dwt" --><!-- DW6 -->
<head>

BUT I can't figure out why the cart files are not reading or talking to the .dwt file. I made changes in the .dwt, saved and uploaded to the site, but when I go to the default.asp page for example, nothing changes. In the default.asp file the <!-- #BeginTemplate "/Templates/main.dwt" --><!-- DW6 --> is greyed out, and I cannot seem to activate that line the way the ones above it are. ???

I am using DW 6 to as my editor.

Q/conclusion: My root cart files are fresh feliciy install, the db is current version 7.0.6 and check out in the admin dashboard as such, the side nav shows as expected until you start clicking links that then go to /shop instead of staying in root, I looked at the felicity includes and don't see anything there? that would cause this, my db admin links to root as I changed that before the version upgrade to 7.0.6.

~ How do I get the .dwt to talk to the ect files?
~ any ideas why my links are going to /shop and not being dynamic with the root template? The test link of Mugs and Bowl talked about here - I went to its category in admin and blanked out the category url since I did have that going to a static page. That field is now blank, so that didn't help.
~ do I understand correctly the top horizontal nav bar links are set in the template once I figure out how to get the template files to talk to the .dwt?

Side note: my current older cart in /shop files are not based on any template. I have been editing those files individually for many... years and may be why I am have a hard time wrapping my brain around how to link the .dwt file?

Side note 2: my site if very slow lately and I think the DB needs compact and repair - I'll deal with that later:-) Perhaps I will purchase ECT DB upgrade to SQL once I get this new template up and working.

Sorry to be so long winded. Any help or advice is truly appreciate. THANK YOU in advance, Em

Vince
Administrator

42455 Posts

Posted - 10/08/2019 :  12:28:21  
quote:
BUT I can't figure out why the cart files are not reading or talking to the .dwt file. I made changes in the .dwt, saved and uploaded to the site
How did you go about adding these files to dreamweaver? Did you create a new site in DW for the new template? Or did you copy them into an existing site? I think really what you need to do is create a new site and DW should scan the files and detect the template that the pages are based on.
When you made changes to the template file for instance, did it ask you if you wanted to update the pages that were based on the template?

The issue about pages going to /shop is to do with the store URL which is set in the database and can be changed in the admin main settings page. If you want to run two stores on one database there is a parameter for the includes.asp file to override the store url...
orstoreurl="http://www.yo... etc

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000