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

Rectangle_bottom.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-27-2006, 12:17 AM
 
bkmdano bkmdano is offline
 

Newbie
  
Join Date: Oct 2002
Posts: 8
 

Default Re: Template Editing Guide

Need help with having different bottom for the home page:

My objective - Different "rectangle_bottom.tpl" on the home page only from the rest of the product and category page.

Reason - Wanted to have some SEO related news and articles just on the bottom of the home page and not any inner pages.


Any suggestions to how I can do this? If I modify the /customer/home.tpl it changes the bottom for every page on the cart, which I'm hoping I can have a bit more control just for the main home page. thanks in advance for any help.
Reply With Quote
  #2  
Old 10-27-2006, 03:20 AM
 
balinor balinor is offline
 

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

Default Re: Rectangle_bottom.tpl

Moving this to its own thread. Please post your version in your signature per the forum rules. Thank you!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-27-2006, 11:18 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Rectangle_bottom.tpl

Edit skin1/customer/home.tpl as follows:

Code:
{if $main eq "catalog" and $cat eq ""} {include file="rectangle_bottom_seo.tpl"} {else} {include file="rectangle_bottom.tpl"} {/if}
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:09 AM.

   

 
X-Cart forums © 2001-2020