If this is your first visit, check our documentation. To post, register or login.

add main nav to page

Locked

Started by djdavedawson on 16 Aug 2006, 6:06 PM · Views: 1,419

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
16 Aug 2006, 6:06 PM
#1
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Post #1 by djdavedawson

I have zen cart installed in a folder called "catalog". this folder is in the root directory. Also in the root directory is my index.html file. I would like to add the main nav php code to this file but can't figure it out.

Is there any way to do this?

Thanks

16 Aug 2006, 9:22 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

What action are you attempting to acheive?

Do you want your store to load directly from your http://www.your_domain.com entry?

Do you have other content that loads from the base url?

Zen-Venom Get Bitten

17 Aug 2006, 8:33 PM
#3
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Post #3 by djdavedawson

If someone is shoping and then goes back to the index page. I would still like the log out, my account, shopping cart buttons displayed.

Because my index page is not zencart index.php but a static html page.

Thanks

17 Aug 2006, 9:16 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

I am pretty bad at php coding but I think that your static html page would require some php to pluck this information for display. This is a dynamic thing and would need to changing cart information to display correctly...

Zen-Venom Get Bitten

19 Aug 2006, 7:56 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,908
Plugin Contributions:
23

Post #5 by dbltoe

It's not a good idea to have people dropping in and out of the cart to go to another "homepage".
For one, if they have a guest cart, it will drop and they will leave frustrated that they had to keep entering a product.
If you need them to have information other than a product description, use the EzPages to provide content while the Zen session is intact.
This doesn't mean you can't put a link in the navbar for the main site but I would not change the home link to anything other than the Zen main page.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com