Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Need two different head.tpl files

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-01-2003, 01:13 PM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default 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
Reply With Quote
  #2  
Old 09-01-2003, 01:17 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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}
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 09-02-2003, 02:29 PM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default

Works like a charm.
thanks!
Liz
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:02 AM.

   

 
X-Cart forums © 2001-2020