How do I 'include' the Zen header on the rest of site?
I have built my site in php with following structure:
Main page: index.php
inside that file i have my php includes that work:
The Zen store is installed in a folder: /registration
My other non-store pages will be:
and so on and so forth... I prefer to use short urls. But I want to have it so the user can login from any page and if they log in, that header file will show that they are even though they are visiting non-store pages on the site... Is this possible to 'include' the zen header file on non-store pages...
I've tried a couple different includes on my non-store pages and used the path directly to: /registration/includes/templates/mycustomtemplate/common/tpl_header.php
No such luck though..
I don't want to do it the other way around whereas in the past I've customized the include files and added a flash menu,slide show,,etc to the store...
Thanks in advance....
Re: How do I 'include' the Zen header on the rest of site?
You'll be much better off if you allow Zen Cart to run the entire site. If you link to pages outside of Zen Cart, your customers will lose their sessions when they move back and forth.
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
By szarin in forum Templates, Stylesheets, Page Layout
Last Post: 29 Jan 2010, 09:01 PM
By jaatendi in forum Customization from the Admin
Last Post: 11 Feb 2009, 11:22 AM
By cocmonkey in forum Templates, Stylesheets, Page Layout
Last Post: 20 Aug 2007, 05:47 AM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC