Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Column Layout Grid for Other Listing

Column Layout Grid for Other Listing

Locked

Views: 1,835

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
5 Oct 2007, 2:19 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Column Layout Grid for Other Listing

Now how can I do the same for all my other listings? (New prod, feature prod ect)
admin > config > index listing > New Products Columns per Row Featured Products Columns per Row and Special Products Columns per Row
set to what you want

5 Oct 2007, 2:40 PM
#3
sainfate avatar

sainfate

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: Column Layout Grid for Other Listing

kobra:

admin > config > index listing > New Products Columns per Row Featured Products Columns per Row and Special Products Columns per Row
set to what you want

Thats not exactly what I wanted.

Even if my New Product box in the Main page has 3 product per row
the New product page shows the product 1 under the other.

Did I make any sense?:huh:

5 Oct 2007, 2:48 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Column Layout Grid for Other Listing

The code for Zen Cart has different layouts for each (for reasons that I do not know) as in new, featured, special, and all.

Moving code around from one to the other is the only way that I know of to change these. You can look at the tpl files for each and follow the logic

5 Oct 2007, 3:10 PM
#5
sainfate avatar

sainfate

New Zenner

Join Date:
Oct 2007
Posts:
18
Plugin Contributions:
0

Re: Column Layout Grid for Other Listing

I used a MOD to have the 2 columns for the product listing which involved changind the db as well... I suppose I can copy the tpl files for the product listing and change them for the other pages but I'm not sure about the db... I had to insert these before

INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'rows',
'Select the layout style:<br />Each product can be listed in its own row (rows option)
or products can be listed in multiple columns per row (columns option)', '8', '40', NULL,
now(), NULL, 'zen_cfg_select_option(array('rows', 'columns'),');

INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Columns Per Row', 'PRODUCT_LISTING_COLUMNS_PER_ROW', '3',
'Select the number of columns of products to show in each row in the product listing.
The default setting is 3.', '8', '41', NULL, now(), NULL, NULL);

I'm not sure what value I should write for New product, feature product ect ect

Any ideas ?

5 Oct 2007, 5:27 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Column Layout Grid for Other Listing

It is not as simple as that and over what can be covered in this venue as a forum.

6 Oct 2007, 11:59 PM
#7
cdennison avatar

cdennison

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

Re: Column Layout Grid for Other Listing

I installed this mod and it really did the trick. however, when the page displays in Firefox it's kind of wonky (until you refresh the page). IE presents the content just fine... which is always suspect.

9 Oct 2007, 3:20 AM
#8
ajstocco avatar

ajstocco

New Zenner

Join Date:
Oct 2007
Posts:
2
Plugin Contributions:
0

Re: Column Layout Grid for Other Listing

Hello forum friends.

I'm using this mod, but the default 3 column layout sets a style width to 32.5%. I'd like to change that % to a specific pixel width. I know it's going to a 3 column layout so I can "hard code" that information if necessary.

Any help is appreciated. Thanks!