If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Column Layout Grid for Product Listing for 1.3.7

Column Layout Grid for Product Listing for 1.3.7

Locked

Started by daphisto on 5 Jan 2007, 9:55 PM · Views: 45,194

Results 121 to 140 of 178
This thread is locked. New replies are disabled.
15 Jan 2008, 9:37 PM
#121
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Post #121 by jettrue

marksu:

I would like to be able to use the hoover image feature also on my ezpages.

Any good instructions on how to use the feature?

I did copy following code example>
<div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">
<img src="bmz_cache/4/43eceaf7eb1c82207595f8fb525b5fc5.image.100x55.png" alt="Fire" title=" Fire " width="100" height="55" class="listingProductImage" style="position:relative" onmouseover="showtrail('images//malli_7_h777_dpi300.png','Fire',100,55,388,215,this,0,0,100,55);" onmouseout="hidetrail();" /><h3 class="itemTitle"> </h3>

</div>

I would like to know what the number and this paramethers are that is input to showtrail function?
I was not able to find the function in any source code?

marksu

Why are you copying that code? That is produced by the "Image Handler 2" module.

15 Jan 2008, 10:33 PM
#122
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

Post #122 by marksu

jettrue:

Why are you copying that code? That is produced by the "Image Handler 2" module.

Hmm my mistake then.

The main point is that I like to use the allready existing hoover (image popup) code.

I should have put my message in Image Handler 2 thread then.

Thanks for the info.
marksu

30 Jan 2008, 5:16 PM
#123
stone10 avatar

stone10

New Zenner

Join Date:
Nov 2006
Posts:
28
Plugin Contributions:
0

Post #123 by stone10

I've been banging my head over this for the last couple of days, but can't seem to find any info on it.

I need to increase the width of the product description which gets set in the product_listing.php module.

The line in question is:

Line #238 : $list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',

My question is, where does the . $col_width field get set? It's currently set to 49% and I would like to increase it to 100% so that it stretches across each column in the grid. I can't see it anywhere in Admin. Please help.

Thanks in advance.

1 Feb 2008, 8:17 PM
#124
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Post #124 by doodlebuckets

My customers are confused with this layout in that the quantity of the item is not labeled....it just has 12, let's say and not Qty: 12 or In stock : 12

How do I go about adding this label? Thanks! Amy

3 Feb 2008, 4:30 AM
#125
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Post #125 by berserker

Will this work with 1.3.8a? Also, if I install this, can I only have it work for the New Products Listing or is it global?

19 Feb 2008, 11:19 AM
#126
sonyat avatar

sonyat

New Zenner

Join Date:
May 2006
Posts:
83
Plugin Contributions:
0

Post #126 by sonyat

ok quick question. where do I take out the more info text? I have been lookig for it and either I need glasses or .....I need glasses ...could someone tell me where it is to take that out. Its the last thing I need to do for a client.

19 Feb 2008, 11:20 AM
#127
sonyat avatar

sonyat

New Zenner

Join Date:
May 2006
Posts:
83
Plugin Contributions:
0

Post #127 by sonyat

Berserker:

Will this work with 1.3.8a? Also, if I install this, can I only have it work for the New Products Listing or is it global?

I have installed the new one he uploaded and it works fine.

19 Feb 2008, 3:25 PM
#128
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Post #128 by doodlebuckets

Doodlebuckets:

My customers are confused with this layout in that the quantity of the item is not labeled....it just has 12, let's say and not Qty: 12 or In stock : 12

How do I go about adding this label? Thanks! Amy

Here is the fix for this:

includes/modules/YOUR TEMPLATE/product_listing.php

look for

case 'PRODUCT_LIST_QUANTITY':

$lc_align = 'right';
$lc_text = $listing->fields['products_quantity'];
break;
(Its the second instance of PRODUCT_LIST_QUANTITY in the file, playing with the first one would be bad as I think its for the database query)
and replace it with

case 'PRODUCT_LIST_QUANTITY':

      $lc_align = 'right';
$lc_temp = $listing->fields['products_quantity'];

      $lc_text = "Your Text Here ${lc_temp} Or Here"; break;
21 Feb 2008, 4:57 AM
#129
sonyat avatar

sonyat

New Zenner

Join Date:
May 2006
Posts:
83
Plugin Contributions:
0

Post #129 by sonyat

I noticed in the listing of the product after adding this in 1.3.8 it shows

PREV_NEXT_PRODUCT2/36

larger image
Black Ribbon Bow Studs

$3.00

Add to Cart:

9TEXT_PRODUCT_QUANTITY

Would I fix this in the Product_listing.php

21 Feb 2008, 3:15 PM
#130
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Post #130 by tjb

Stone10:

I've been banging my head over this for the last couple of days, but can't seem to find any info on it.

I need to increase the width of the product description which gets set in the product_listing.php module.

The line in question is:

My question is, where does the . $col_width field get set? It's currently set to 49% and I would like to increase it to 100% so that it stretches across each column in the grid. I can't see it anywhere in Admin. Please help.

Thanks in advance.

I too have been trying to figure out what the best way to control the width of the product description on the product listing page. It's way too wide. http://www.nps1direct.com/zcf/index.php?main_page=index&cPath=65

Thomas Brophy

29 Feb 2008, 7:02 PM
#131
bugyoutoo avatar

bugyoutoo

New Zenner

Join Date:
Nov 2007
Posts:
34
Plugin Contributions:
0

Post #131 by bugyoutoo

I've been looking all over for this and read the entire thread..

I currently have it set to 4 items per row and everything works fine. The problem is, when there is an odd amount of items, such as 3 items for a row, all of the items become centered.

Is there any way to always have it aligned in X amount of columns, instead of based on how many items are displayed?

29 Feb 2008, 7:13 PM
#132
txmagnum avatar

txmagnum

New Zenner

Join Date:
Dec 2007
Posts:
17
Plugin Contributions:
0

Post #132 by txmagnum

Is there anyway to use this for the categories and all other listings. I want to change all my listings to be in a grid, to include: Products, Categories and sub-categories.

1 Mar 2008, 3:01 PM
#133
hansonian avatar

hansonian

New Zenner

Join Date:
May 2007
Location:
tampa, fl
Posts:
23
Plugin Contributions:
0

Post #133 by hansonian

i've installed the column layout and it works fine with the standard green zen-cart template. when i try to get it to work with the sophy blue-gray template it only displays the products in a single row. i copied all the files into the appropriate directories (or so i think) and i have uploaded the new commands via "Install SQL Patch". for the love of god can someone tell me what i'm missing? :frusty:

i have this installed on another website that runs the basic contemporary green template and it works perfectly, so i'm assuming it's something i'm doing wrong with the new (non standard) template.

any help or input would be greatly appreciated.

1 Mar 2008, 3:47 PM
#134
kinget avatar

kinget

Zen Follower

Join Date:
Jul 2006
Posts:
154
Plugin Contributions:
0

Post #134 by kinget

hansonian:

i've installed the column layout and it works fine with the standard green zen-cart template. when i try to get it to work with the sophy blue-gray template it only displays the products in a single row. i copied all the files into the appropriate directories (or so i think) and i have uploaded the new commands via "Install SQL Patch". for the love of god can someone tell me what i'm missing? :frusty:

i have this installed on another website that runs the basic contemporary green template and it works perfectly, so i'm assuming it's something i'm doing wrong with the new (non standard) template.

any help or input would be greatly appreciated.

I'm not sure if I can help that much. But, I did have a problem similar to that and the problem was in the style sheet. I have never used that template, but if you have Firebug, check the style sheet and look for a "width" or alignment. Say, like "47%" etc. Hope that helps.

3 Mar 2008, 11:58 AM
#135
pontus avatar

pontus

New Zenner

Join Date:
Feb 2008
Posts:
5
Plugin Contributions:
0

Post #135 by pontus

I also have problem with this mod.

As you can see the products are listed as they should in firefox but not in IE.

Anyone who knows how to fix this?

The url to my site is: www(DOT)panopt(DOT)se(slash)webshop
(there is a similar site on www(DOT)panopt(DOT)se but i´m using the one above for testing)

Firefox:

Internet Explorer:

4 Mar 2008, 10:09 PM
#136
kbmets7 avatar

kbmets7

Zen Follower

Join Date:
Jan 2008
Posts:
89
Plugin Contributions:
0

Post #136 by kbmets7

I already have the 2 options for configuring the column-layout mod in the Admin->Configuration->Product Listing screen. So, as per the directions, I installed the files and skipped the SQL patch (since I don't need it). The columns are set to 3, and it did chnage the layout of products from rows to columns. However, I have only one single column going down the page, no matter how many columns I set it to. WHat are some of the common causes and fixes?

http://209.85.34.64/index.php?main_page=index&cPath=11_41_52&page=1&sort=3d

6 Mar 2008, 7:50 PM
#137
bugyoutoo avatar

bugyoutoo

New Zenner

Join Date:
Nov 2007
Posts:
34
Plugin Contributions:
0

Post #137 by bugyoutoo

kbmets7:

I already have the 2 options for configuring the column-layout mod in the Admin->Configuration->Product Listing screen. So, as per the directions, I installed the files and skipped the SQL patch (since I don't need it). The columns are set to 3, and it did chnage the layout of products from rows to columns. However, I have only one single column going down the page, no matter how many columns I set it to. WHat are some of the common causes and fixes?

http://209.85.34.64/index.php?main_page=index&cPath=11_41_52&page=1&sort=3d

Well thats easy just follow the exact directions... I was in a similar position.

Does anyone know how to align it so that there's permanently an X amount of tables? My problem is that when there's a lower amount of items to display then it gets centered which doesn't look good at all... for example I set it to 4 columns, and when only 1 item is displayed, there will only be 1 column. Any ideas?

13 Mar 2008, 4:38 PM
#138
pillaroom avatar

pillaroom

New Zenner

Join Date:
Feb 2008
Posts:
27
Plugin Contributions:
0

Post #138 by pillaroom

Hi! Does anyone know how I can center the columns? I had trouble with the width of the product titles, and changed this in product_listing.php:

if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
if ($num_products_count < PRODUCT_LISTING_COLUMNS_PER_ROW || PRODUCT_LISTING_COLUMNS_PER_ROW == 0 ) {
$col_width = floor(90/$num_products_count) - 5.5;
} else {
$col_width = floor(90/PRODUCT_LISTING_COLUMNS_PER_ROW) - 5.5;

But now the product boxes are floating to the left.

Take a look here:
http://thepillaroom.com/Store/index.php?main_page=index&cPath=1_18

Thanks!
Brad

13 Mar 2008, 6:09 PM
#139
pillaroom avatar

pillaroom

New Zenner

Join Date:
Feb 2008
Posts:
27
Plugin Contributions:
0

Post #139 by pillaroom

Hi. Nevermind. I just <br>'s in the titles and put everything else back and everything seems to be aligned. Have a terrific day,
Brad

14 Mar 2008, 1:36 PM
#140
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Post #140 by rob905

Woodymon:

Did you set:
Admin -> Configuration -> Product Listing ->

  • Product Listing - Layout Style
  • Product Listing - Columns Per Row

BTW you have employed a SEO URL's mod. Your product names containing special characters need escaping. Please consult the appropriate SEO URL support forum for more info.

Woody

I have the same problem on https://www.karatjewellers.ca/cart.
After installing the MOD, I was able to change the layout style but there is no option to change for "Columns Per Row". :blink: