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

How to take location.tpl out of hompage ONLY

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-31-2005, 01:18 PM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default How to take location.tpl out of hompage ONLY

Ok, i can't seem to figure out how to take out location.tpl from the homepage only. I want it to be on the rest of the pages but it seems useless on the first page. I tried to take it out of home.tpl but then it just takes it out of the rest of the pages too. Help please!
__________________
X-Cart version 4.0.14
Reply With Quote
  #2  
Old 10-31-2005, 01:22 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Code:
{if $main eq "catalog" and $current_category.category eq ""}{else}{include file="location.tpl"}{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 06:07 PM.

   

 
X-Cart forums © 2001-2020