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

Query regarding columns in xcart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-07-2004, 06:43 AM
 
darrocm darrocm is offline
 

Member
  
Join Date: Oct 2004
Location: Walsall, West Midlands. UK
Posts: 12
 

Default Query regarding columns in xcart

Hi,

Does anybody know if it is possible to have a 3 column design for the home page but revert to a 2 column design for any other interior pages.

I simply need to find out if have to stick to the same layout throughout the site.
__________________
Mike
---------------------
Live 4.0.7
Reply With Quote
  #2  
Old 12-07-2004, 07:17 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you can do it by either editing home.tpl to check what page your on or by editing the products.php or product.php and say which template to display

it will take a bit of digging atound though
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 12-07-2004, 10:03 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default

Edit your home.tpl and find the third column.

It will start with a <td> and end with a </td>.

Put this BEFORE that <td>

Code:
{if $main eq "catalog" && $cat == "0"}

And then AFTER the </td> put:

Code:
{/if}
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:43 PM.

   

 
X-Cart forums © 2001-2020