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

products_per_row

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-16-2004, 07:32 PM
 
roccons roccons is offline
 

Member
  
Join Date: Nov 2004
Posts: 16
 

Default products_per_row

Hi to all, this is my first post here.
I want to make a 2-columns products view, but with the products.tpl layout (the one that is shown when you are not using multicolumn mode) and not like the products_t.tpl (which is the template that is used in multicolumn modes).
Has anyone achieved that?
What would be the esiest/better way to get to that point?
I'm thinking mainly about two possibilities:
1. to edit products.tpl so it can display its content in two columns
or
2. to edit products_t.tpl until it fit the layout normaly used when not using multicolumns (thumbnail to the left, and short description and other info on the right of each product)
Thanks.
__________________
x-cart 3.5.12 (Unix)
Reply With Quote
  #2  
Old 11-17-2004, 07:26 AM
 
western-merc western-merc is offline
 

Advanced Member
  
Join Date: Dec 2003
Location: Tacoma, WA
Posts: 43
 

Default

I haven't done it myself, but I feel like editing the products_t.tpl because you would just have to move some of the items around (float the thumb to the left and then the details on the right) whereas if you edit products.tpl you would have to change the way it works fundamentally. Plus if you edit products_t.tpl it still integrates with the settings and if you decide to go with more columns in the future it would be easy to adjust that without diving back into the code.

Just my opinion though.

PhiLL
__________________
X-Cart Version: 4.0.17
Linux 2.4.21-37.ELsmp
Apache 1.3.34
MySQL 4.0.25-standard
PHP 4.4.1
Reply With Quote
  #3  
Old 11-17-2004, 05:57 PM
 
roccons roccons is offline
 

Member
  
Join Date: Nov 2004
Posts: 16
 

Default

That sound logic.
I'll try it and post my results later.
Thanks.
__________________
x-cart 3.5.12 (Unix)
Reply With Quote
  #4  
Old 02-06-2005, 04:05 PM
 
Khar Khar is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 57
 

Default

Hay Roccons did you ever get this to work? I would like to do the same thing on my site.
__________________
tekmind

X-cart 4.0.7 [unix]
Reply With Quote
  #5  
Old 02-06-2005, 07:38 PM
 
roccons roccons is offline
 

Member
  
Join Date: Nov 2004
Posts: 16
 

Default

I finally chosen a different layout. But i think western-merc was right.
It shouldn't be very hard to get that result editing the products_t.tpl
__________________
x-cart 3.5.12 (Unix)
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 01:23 PM.

   

 
X-Cart forums © 2001-2020