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)
-   -   Query regarding columns in xcart (https://forum.x-cart.com/showthread.php?t=10793)

darrocm 12-07-2004 06:43 AM

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.

shan 12-07-2004 07:17 AM

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

Jon 12-07-2004 10:03 AM

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}


All times are GMT -8. The time now is 03:49 PM.

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