How can I make 2 headers for my zen cart site; 1 for the main index.php page, and 1 for all other pages?
How can I make 2 headers for my zen cart site; 1 for the main index.php page, and 1 for all other pages?
You could use the $this_is_home_page variable to determin when to call which one ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
http://www.zen-cart.com/forum/showthread.php?t=55487
Similar request with details of "how to" at above url
![]()
Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others
Thanks Misty, worked right away!
FYI for anyone following this post, the following function allows you to perform logic around whether or not you're on the 'home' page:
if ($this_is_home_page)
{
include('top_main.php');
}
else
{
include('top.php');
}
Bookmarks