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

How to adjust multicolumn format from 3 images to 4 across

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-17-2005, 04:55 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default How to adjust multicolumn format from 3 images to 4 across

Currently in my admin setting I can adjust my multicolumn format to display 3 images across horizontally, Can someone tell me how I can have 4 images display across horizontally.
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 12-17-2005, 04:59 AM
 
balinor balinor is offline
 

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

Default

Need to edit products_t.tpl and hard-code the number of columns.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-17-2005, 05:39 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Where do you hard code the number of columns, can you help me with that.
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 12-17-2005, 01:14 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

skin1/customer/main/products.tpl

change

Code:
$config.Appearance.products_per_row lt 4

to

Code:
$config.Appearance.products_per_row lt 5

you can then have 4 columns.
__________________
xcartmods.co.uk
Reply With Quote
  #5  
Old 12-17-2005, 02:31 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Thanks for your help
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 10-05-2006, 10:25 AM
 
grajin grajin is offline
 

Newbie
  
Join Date: May 2006
Posts: 8
 

Default Re: How to adjust multicolumn format from 3 images to 4 across

this trick doesnt seem to work in 4.1
__________________
version 4.1.0
Reply With Quote
  #7  
Old 10-08-2006, 01:12 PM
 
martin242 martin242 is offline
 

Advanced Member
  
Join Date: May 2004
Location: Buenos Aires, Argentina
Posts: 42
 

Default Re: How to adjust multicolumn format from 3 images to 4 across

It works. You just have to write the number 5 in the field "Display products list in multiple columns (1-3) (leave empty to use standard format): " under the appearance options.
__________________
X-Cart Gold 4.0.14
Modified FlexyRectangles Skin
Reply With Quote
  #8  
Old 10-09-2006, 07:53 AM
 
grajin grajin is offline
 

Newbie
  
Join Date: May 2006
Posts: 8
 

Talking Re: How to adjust multicolumn format from 3 images to 4 across

my bad, and THANKS!, Obviously I didnt think it through all the way, lol
__________________
version 4.1.0
Reply With Quote
  #9  
Old 04-03-2007, 05:32 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: How to adjust multicolumn format from 3 images to 4 across

there is no line "$config.Appearance.products_per_row lt 4 " on mine ??

im using 4.16

plz help
__________________
X-Cart Version 4.55
Reply With Quote
  #10  
Old 04-04-2007, 05:39 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: How to adjust multicolumn format from 3 images to 4 across

It is there, in line 6.
Code:
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lte 5 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")} {include file="customer/main/products_t.tpl" products=$products}
__________________
xcartmods.co.uk
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 02:17 PM.

   

 
X-Cart forums © 2001-2020