| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to Hard code a 3 column layout in products_t.tpl? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hello,
This will sound like a somewhat odd request, but I need to hard code my templates_t.tpl with a 3 column layout. I need it set to "0" in the admin , but hard coded with "3" in this file, cause I'm doing a skin swapping thing. Below is what I believe to be the controling portion of code from products_tpl, does anyone know how to rewrite it the way I need? Thanks in advance! Code:
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Try chaning all references to:
$config.Appearance.products_per_row with 3
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Yes, you should change all instances of $config.Appearance.products_per_row to 3.
__________________
Regards, Anthony Holub X-Cart Skins Store ![]() - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Thanks to both of you, that worked.
I thought I had tried that, but I had missed 3 more instances of it further down in the page.
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|