X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Need two different head.tpl files (https://forum.x-cart.com/showthread.php?t=4211)

lizlarry 09-01-2003 01:13 PM

Need two different head.tpl files
 
I need to have one set of graphics (contained in head.tpl) display when the user is on the top page and another set of graphics display when the user is on any other page in the site.


Any help would be most appreciated.
Liz

I am running 3.3.7

funkydunk 09-01-2003 01:17 PM

Use this in customer/home.tpl

Code:

{if $main eq "catalog" and $current_category.category eq ""}
{include file="homepagehead.tpl"}
{else}
{include file="head.tpl"}
{/if}


lizlarry 09-02-2003 02:29 PM

Works like a charm.
thanks!
Liz


All times are GMT -8. The time now is 08:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.