Forums / All Other Contributions/Addons / Column Layout Grid v2.x Support

Column Layout Grid v2.x Support

Started by gjh42 on 20 Sep 2012, 7:00 PM · Views: 30,576

Results 1 to 20 of 176
20 Sep 2012, 7:00 PM
#1
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Column Layout Grid v2.x Support

This is the support thread for v2.1 and following of the venerable Column Layout Grid mod. Older versions are not supported here; there are other threads for that.

The mod allows switching between the standard product listing layout ("rows") and a grid display ("columns").

Adeel Sarfraz changed the mod to give layout control to customers instead of the admin.
V2.1 gives the admin the ability to set whether customers see the layout switch, and to set the default layout to columns or rows.
The initial setting for the switch is "not displayed" and the default layout is "rows".
There are no changes to mod code or functionality aside from the addition of these options. The base files are up to date with v1.5.1.

Until the new version is submitted and activated, I will send a copy of it for testing on request through PM.

21 Sep 2012, 3:49 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

Zip will be attached here until it is officially submitted.
[Attachment no longer available]
There may be minor changes when activated as it is still being tested. Please post with any trial experiences.

7 Oct 2012, 6:07 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

Column Layout Grid for Product Listing v2.2 is now available in Plugins. Meanwhile, I have submitted v2.3 to fix a bug introduced with the list/grid sorter (see http://www.zen-cart.com/showthread.php?200854-Column-Layout-Grid-for-Product-Listing). The bug requires that another filter (alpha, manufacturer, etc.) be enabled in order for the list/grid sorter to display. V2.3 will not require this.

10 Nov 2012, 12:28 AM
#6
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

I am trying to install Ver 2.3 in a test version of Zen 1.5 I am running locally. Everything appears to be installed ok, and running. My problem is that the "Sort By:" selections have two links to sort by "Model" and a blank bullet pointed selection possibility below "Price." How do I fix this?

17 Years and still just a "Follower." :P

10 Nov 2012, 12:47 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

Since you can't let me look at it live, a screenshot of that area plus a copy of the view source code for the area might help diagnose the issue. Do you have v1.5.0 or v1.5.1? You didn't specify.

10 Nov 2012, 5:22 AM
#8
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

This is a shot of the page.
Thank you for getting back so fast. I am using 1.5.1Attachment 11411

17 Years and still just a "Follower." :P

10 Nov 2012, 5:42 AM
#9
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

For some reason, it wouldn't let me upload the code in a file...

<meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="D&D Russ - Costumers and Makeup Artists" /> <meta name="generator" content="shopping cart program by Zen Cart " /> <meta name="robots" content="noindex, nofollow" /> <base href="http://example.com/" /> <link rel="stylesheet" type="text/css" href="includes/templates/christmas_shop/css/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/christmas_shop/css/stylesheet_css_buttons.css" /> <link rel="stylesheet" type="text/css" media="print" href="includes/templates/christmas_shop/css/print_stylesheet.css" /> <script type="text/javascript"> function onloadFocus() { var x=document.getElementsByName('multiple_products_cart_quantity'); if (x.length > 0) { document.forms['multiple_products_cart_quantity'].elements[1].focus(); } } </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-11026163-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body id="advancedsearchresultBody" onload="onloadFocus();"> <div id="mainWrapper"> <!--bof-header logo and navigation display--> <div id="headerWrapper"> <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><a href="http://example.com/">Home</a></li> <li><a href="http://example.com/index.php?main_page=login">Log In</a></li> </ul> </div> <div id="navMainSearch"></div> <br class="clearBoth" /> </div> <!--eof-navigation display--> <!--bof-branding display--> <div id="logoWrapper"> <div id="logo"><a href="http://example.com/"><img src="includes/templates/christmas_shop/images/backgroundchristmas-tt.jpg" title=" COSTUMES " width="250" height="138" /></a></div> <div id="taglineWrapper"> <div id="tagline"><h1><font size="8" color="0000FF">COSTUMES</font> <BR><font size="4" color="0000FF"><br></font><font size="3"><b> </font></h1></div> </div> </div> <br class="clearBoth" /> <!--eof-branding display--> <!--eof-header logo and navigation display--> <!--bof-optional categories tabs navigation display--> <div id="navCatTabsWrapper"> <div id="navCatTabs"> <ul> <li><a class="category-top" href="http://example.com/costumes-retail-adult-

child">COSTUMES RETAIL ADULT & CHILD</a> </li>

<li><a class="category-top" href="http://example.com/costume-rentals">COSTUME

RENTALS</a> </li>

<li><a class="category-top" href="http://example.com/wigs">WIGS</a> </li> <li><a class="category-top" href="http://example.com/hats_crowns_tiaras">HATS, CROWNS, TIARAS</a> </li> <li><a class="category-top" href="http://example.com/costume_accessories">COSTUME ACCESSORIES</a> </li> <li><a class="category-top" href="http://example.com/masks_mardi_gras_halloween">MASKS - MASQUERADE, HALLOWEEN</a> </li> <li><a class="category-top" href="http://example.com/make-up">MAKE UP</a> </li> <li><a class="category-top"

href="http://example.com/renaissance_clothing_accessory">RENAISSANCE CLOTHING &

ACCESSORY</a> </li>

<li><a class="category-top" href="http://example.com/custom">CUSTOM</a> </li> </ul> </div> </div> <!--eof-optional categories tabs navigation display--> <!--bof-header ezpage links--> <!--eof-header ezpage links--> </div> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper"> <tr> <td id="navColumnOne" class="columnLeft" style="width: 240"> <div id="navColumnOneWrapper" style="width: 240"><!--// bof: categories //--> <div class="leftBoxContainer" id="categories" style="width: 240"> <h3 class="leftBoxHeading" id="categoriesHeading">Costume Categories</h3> <div id="categoriesContent" class="sideBoxContent"> <a class="category-top" href="http://example.com/costumes-retail-adult-child">COSTUMES

RETAIL ADULT & CHILD-></a> (624)<br />
<a class="category-top" href="http://example.com/costume-rentals">COSTUME RENTALS-

</a> (3822)<br />
<a class="category-top" href="http://example.com/wigs">WIGS-></a> (298)<br />
<a class="category-top" href="http://example.com/hats_crowns_tiaras">HATS, CROWNS,

TIARAS</a> (127)<br />
<a class="category-top" href="http://example.com/costume_accessories">COSTUME

ACCESSORIES-></a> (1366)<br />
<a class="category-top" href="http://example.com/masks_mardi_gras_halloween">MASKS -

MASQUERADE, HALLOWEEN</a> (78)<br />
<a class="category-top" href="http://example.com/make-up">MAKE UP</a> (330)<br />
<a class="category-top"

href="http://example.com/renaissance_clothing_accessory">RENAISSANCE CLOTHING &

ACCESSORY-></a> (104)<br />
<a class="category-top" href="http://example.com/custom">CUSTOM</a><br />

<hr id="catBoxDivider" /> <a class="category-links" href="http://example.com/index.php?main_page=specials">Specials

...</a><br />
<a class="category-links" href="http://example.com/index.php?main_page=products_all">All
Products ...</a>

</div></div> <!--// eof: categories //--> <!--// bof: accessorysidebox //--> <div class="leftBoxContainer" id="accessorysidebox" style="width: 240"> <h3 class="leftBoxHeading" id="accessorysideboxHeading"><br>COSTUME<br>ACCESSORIES</h3> <div id="accessorysideboxContent" class="sideBoxContent"><div align="center"><a

href="/accessories"><font color="#00FFF1" size="3">Animal Kits<br>1920's
Accessories<br>Masquerade Masks<br>
<img src="images/accessories/accessoriesthumb/mask56281-t.jpg"/></font></a></div><br>

</div></div> <!--// eof: accessorysidebox //--> <!--// bof: ezpages //--> <div class="leftBoxContainer" id="ezpages" style="width: 240"> <h3 class="leftBoxHeading" id="ezpagesHeading"></h3> <div id="ezpagesContent" class="sideBoxContent"> <ul style="margin: 0; padding: 0; list-style-type: none;"> <li><a href="http://example.com/size_charts?chapter=0" target="_blank">SIZE CHARTS</a></li> <li><a href="http://example.com/colors_materials?chapter=0" target="_blank">COLORS & MATERIALS</a></li> <li><a href="http://example.com/premium_costume_sale_list?chapter=0" target="_blank">Adult Sale List</a></li> <li><a href="http://example.com/childrens_costumes_for_sale_from_rental_dept.?chapter=0"

target="_blank">Childrens Costumes for Sale</a></li>

<li><a href="http://example.com/index.php?main_page=page&id=1&chapter=1"

target="_blank">LINKS</a></li>

<li><a href="http://example.com/terms_conditions?chapter=0" target="_blank">TERMS &

CONDITIONS</a></li>

<li><a href="http://example.com/contact_us?chapter=0" target="_blank">Contact Us</a></li> </ul> </div></div> <!--// eof: ezpages //--> </div></td> <td valign="top"> <!-- bof breadcrumb --> <div id="navBreadCrumb"> <a href="http://example.com/">Home</a> :|:  <a href="http://example.com/index.php?main_page=advanced_search">Advanced

Search</a> :|: 
Search Results

</div> <!-- eof breadcrumb --> <!-- bof upload alerts --> <!-- eof upload alerts --> <div class="centerColumn" id="advSearchResultsDefault"> <h1 id="advSearchResultsDefaultHeading">Advanced Search</h1> <form name="multiple_products_cart_quantity" action="http://example.com/?

search_in_description=1&keyword=foundation&inc_subcat=0&page=1&sort=4d&am

p;action=multiple_products_add_product" method="post" enctype="multipart/form-

data"><input type="hidden" name="securityToken" value="8e831850dc486d15f97d2207e568f18c"

/><div id="productListing">

<div class="buttonRow forward"><input type="image"

src="includes/templates/christmas_shop/buttons/english/button_add_selected.gif"

Selected Products to Cart" title=" Add Selected Products to Cart " id="submit1"

name="submit1" /></div>
<br class="clearBoth" />

<div id="productsListingTopNumber" class="navSplitPagesResult back">Displaying

<strong>1</strong> to <strong>9</strong> (of <strong>35</strong> products)</div>

<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward">

 <strong class="current">1</strong>  <a href="http://example.com/index.php? main_page=advanced_search_result&search_in_description=1&keyword=foundation&i nc_subcat=0&sort=4d&page=2" title=" Page 2 ">2</a>  <a href="http://example.com/index.php? main_page=advanced_search_result&search_in_description=1&keyword=foundation&i nc_subcat=0&sort=4d&page=3" title=" Page 3 ">3</a>  <a href="http://example.com/index.php? main_page=advanced_search_result&search_in_description=1&keyword=foundation&i nc_subcat=0&sort=4d&page=4" title=" Page 4 ">4</a>  <a href="http://example.com/index.php? main_page=advanced_search_result&search_in_description=1&keyword=foundation&i nc_subcat=0&sort=4d&page=2" title=" Next Page ">[Next >>]
</a> </div>
<br class="clearBoth" />

<ul id="gridSorter">Sort by: <li class="item"><a href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&page=1&sort=1a" title="Sort products ascendingly by Model"

class="productListing-heading">Model</a></li><li class="item"><a

href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&page=1&sort=1a" title="Sort products ascendingly by Model"

class="productListing-heading">Model</a></li><li class="item"><a href="http://example.com/index.php? main_page=advanced_search_result&search_in_description=1&keyword=foundation&i nc_subcat=0&page=1&sort=3a" title="Sort products ascendingly by Item Name" class="productListing-heading">Item Name</a></li><li class="item"><a
href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&page=1&sort=4a" title="Sort products ascendingly by Price"

class="productListing-heading">Price-</a></li><li class="item"></li></ul>
<div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">TK

CAKE<br /><a href="http://example.com/make_up/theater_kit_makeup_cake"><img

src="images/make_up/bennyemakeup/makeupjpegs/kit_cake.jpg" width="100" height="80"

class="listingProductImage" /></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/theater_kit_makeup_cake">THEATER KIT</a></h3><div class="listingDescription">CAKE KIT by Ben Nye! </div><br />$82.99<br /><br /><a href="http://example.com/make_up/theater_kit_makeup_cake">... more info</a><br /><br /></div>
<div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">TK

CREME SERIES<br /><a href="http://example.com/make_up/theater_kit_makeup_creme"><img

src="images/make_up/bennyemakeup/makeupjpegs/kit_theatrical.jpg" width="100" height="80"

class="listingProductImage" /></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/theater_kit_makeup_creme">THEATER KIT</a></h3><div class="listingDescription">CREME THEATER KITS</div><br />$77.99<br /><br /><a

href="http://example.com/make_up/theater_kit_makeup_creme">... more info</a><br /><br

/></div>
<div class="centerBoxContentsProducts centeredContent back"

style="width:32.5%;">LFP-12<br /><a

href="http://example.com/make_up/palette_makeup_matte_creme_colors"><img

src="images/make_up/bennyemakeup/makeupjpegs/foundationpaletteLFP12.jpg"

width="100" height="80" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/palette_makeup_matte_creme_colors">PALETTE MAKEUP -

</a></h3><div class="listingDescription">MATTE CREME</div><br />$59.99<br /><br />Add: <input

type="text" name="products_id[5065]" value="0" size="4" /><br /><br /></div>
<br class="clearBoth" />

<div class="centerBoxContentsProducts centeredContent back" 

style="width:32.5%;">3664<br /><a

href="http://example.com/costume_rentals/adult_costumes_for_rent/1930s_1940s_military/nin

eteen_thirtys_or_fortys_dress_costume_size_xsm-sm"><img src="images/rentals/1930s3664-

t.jpg" width="100" height="80"

class="listingProductImage" /></a><br /><h3 class="itemTitle"><a

href="http://example.com/costume_rentals/adult_costumes_for_rent/1930s_1940s_military/nin

eteen_thirtys_or_fortys_dress_costume_size_xsm-sm">Nineteen Thirty's or Fortys Dress

Costume<br>Size XSM-SM</a></h3><div class="listingDescription">"1930's or 1940's Dress

Size XSM-SM </div><br />$47.50<br /><br />Add: <input type="text"

name="products_id[726]" value="0" size="4" /><br />Max: 1<br /></div>
<div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">OL

SERIES<br /><a

href="http://example.com/make_up/foundation_makeup_belle_visage_sheer_series_ol"><img

src="images/make_up/bennyemakeup/makeupjpegs/bellevisagesheerfoundation.jpg"

width="100" height="80" class="listingProductImage"

/></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/foundation_makeup_belle_visage_sheer_series_ol">FOUNDATI

ON MAKEUP - BELLE VISAGE(OL)</a></h3><div class="listingDescription">BELLE

VISAGE SHEER</div><br />$22.49<br /><br /><a

href="http://example.com/make_up/foundation_makeup_belle_visage_sheer_series_ol">... more

info</a><br /><br /></div>
<div class="centerBoxContentsProducts centeredContent back"

style="width:32.5%;">VB<br /><a

href="http://example.com/make_up/foundation_sheer_belle_visage_series_vb"><img

src="images/make_up/bellevisagesheerfoundation.jpg" width="100" height="80"

class="listingProductImage" /></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/foundation_sheer_belle_visage_series_vb">FOUNDATION

SHEER BELLE VISAGE SERIES (VB)</a></h3><div class="listingDescription">Belle Visage Sheer

Foundations</div><br />$22.49<br /><br /><a

href="http://example.com/make_up/foundation_sheer_belle_visage_series_vb">... more

info</a><br /><br /></div>
<br class="clearBoth" />

<div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">VPC 

SERIES<br /><a

href="http://example.com/make_up/powder_compact_makeup_belle_visage_vpc"><img

src="images/make_up/bellevisagepoudrecompact.jpg" width="100"

height="80" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/powder_compact_makeup_belle_visage_vpc">POWDER COMPACT

MAKEUP - BELLE VISAGE (VPC)</a></h3><div class="listingDescription">POWDER COMPACT -

BELLE VISAGE Belle Visage</div><br />$21.99<br /><br /><a

href="http://example.com/make_up/powder_compact_makeup_belle_visage_vpc">... more

info</a><br /><br /></div>
<div class="centerBoxContentsProducts centeredContent back"

style="width:32.5%;">HDP-1<br /><a

href="http://example.com/make_up/media_pro_hd_matte_powder_hdp-1"><img

src="images/bennyemakeup/hd_powder.jpg" width="100" height="80" class="listingProductImage"

/></a><br /><h3 class="itemTitle"><a

href="http://example.com/make_up/media_pro_hd_matte_powder_hdp-1">MEDIA PRO HD MATTE

POWDER #HDP-1</a></h3><div class="listingDescription">Transparent HD Matte Powder</div><br />$18.00<br /><br />Add: <input type="text" name="products_id[5335]" value="0" size="4" /><br /><br /></div>
<div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">NO
SERIES<br /><a href="http://example.com/make_up/foundation-creme-

makeup_matte_natural_olive_series_no"><img src="images/make_up/bennyemakeup/makeupjpegs/mattefoundtions.jpg" width="100" height="80" class="listingProductImage" /></a><br /><h3 class="itemTitle"><a href="http://example.com/make_up/foundation-creme-

makeup_matte_natural_olive_series_no">FOUNDATION CREME MAKEUP - MATTE NATURAL OLIVE

SERIES (NO)</a></h3><div class="listingDescription">MATTE CREME FOUNDATIONS NATURAL OLIVE

SERIES</div><br />$14.49<br /><br /><a

href="http://example.com/make_up/foundation-creme-

makeup_matte_natural_olive_series_no">... more info</a><br /><br /></div>
<br class="clearBoth" />

<div id="productsListingBottomNumber" class="navSplitPagesResult back">Displaying

<strong>1</strong> to <strong>9</strong> (of <strong>35</strong> products)</div>

<div id="productsListingListingBottomLinks" class="navSplitPagesLinks forward">

 <strong class="current">1</strong>  <a

href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&sort=4d&page=2" title=" Page 2 ">2</a>  <a

href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&sort=4d&page=3" title=" Page 3 ">3</a>  <a

href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&sort=4d&page=4" title=" Page 4 ">4</a>  <a

href="http://example.com/index.php?

main_page=advanced_search_result&search_in_description=1&keyword=foundation&i

nc_subcat=0&sort=4d&page=2" title=" Next Page ">[Next >>]

</a> </div>
<br class="clearBoth" />

<div class="buttonRow forward"><input type="image"

src="includes/templates/christmas_shop/buttons/english/button_add_selected.gif" id="submit2"

name="submit1" /></div>
<br class="clearBoth" />

</div> </form> <div class="buttonRow back"><a href="http://example.com/index.php?

main_page=advanced_search&search_in_description=1&keyword=foundation&inc_subc

at=0"><img src="includes/templates/christmas_shop/buttons/english/button_back.gif"

width="39" height="15" /></a></div>

</div> </td> <td id="navColumnTwo" class="columnRight" style="width: 150"> <div id="navColumnTwoWrapper" style="width: 150"><form name="quick_find_header"

action="http://example.com/index.php?main_page=advanced_search_result"

method="get"><input type="hidden" name="main_page" value="advanced_search_result"

/><input type="hidden" name="search_in_description" value="1" /><input type="text"

name="keyword" size="6" maxlength="30" style="width: 150px" value="Please enter search

here" onfocus="if (this.value == 'Please enter search here') this.value = '';" onblur="if

(this.value == '') this.value = 'Please enter search here';" /> <input type="submit"

value="Search" style="width: 60px" /></form><!--// bof: makeupsidebox //-->

<div class="rightBoxContainer" id="makeupsidebox" style="width: 150"> <h3 class="rightBoxHeading" id="makeupsideboxHeading"><br>PROFESSIONAL MAKEUP</h3> <div id="makeupsideboxContent" class="sideBoxContent"><a href="/make-up"><font size="2"

color="ffff00"><div align="center">Professional Quality Makeup<br>
<img src="images/categories/makeup.jpg" /><br>
<br>Special Effects, Personal<br>and Moulage</div></p></font><br></a>

</div></div> <!--// eof: makeupsidebox //--> <!--// bof: ladyfoolsidebox //--> <div class="rightBoxContainer" id="ladyfoolsidebox" style="width: 150"> <h3 class="rightBoxHeading" id="ladyfoolsideboxHeading">RENAISSANCE CLOTHING</h3> <div id="ladyfoolsideboxContent" class="sideBoxContent"><a

href="/renaissance_clothing_accessory">

<div style="text-align: center;"><font size="2" color="#ffff00"><img hspace="0"

vspace="0" border="0" style="width: 72px; height: 127px;"

src="images/renaissance/thumbpics/026PW-t.jpg" /><br /><font size="4" style="color: rgb

(0, 153, 255);">Women<br />Men<br />Children<br /><br /></font></font></div>
</a>

</div></div> <!--// eof: ladyfoolsidebox //--> <!--// bof: theatersidebox //--> <div class="rightBoxContainer" id="theatersidebox" style="width: 150"> <h3 class="rightBoxHeading" id="theatersideboxHeading">THEATER RENTALS</h3> <div id="theatersideboxContent" class="sideBoxContent"><div style="text-align:

center;"><a href="/rentals-adult-child/theater-rentals"><img height="96" width="143"

border="0" src="images/rentals/theaterpics/theaterthumbs/chorusline2-t.jpg" /><font

size="4" style="color: rgb(255, 255, 0);"><br /><span style="color: rgb(0, 102,

204);">Costumes Rentals for</span></font><br style="color: rgb(0, 102, 204);" /><font

size="4" style="color: rgb(0, 102, 204);">Theater Productions</font><br /><span

style="color: rgb(255, 102, 0);">Adults and Children</span><br /><span style="color: rgb

(0, 153, 51);">Special Rates for Extended Shows!</span></a><br />

</div></div></div> <!--// eof: theatersidebox //--> </div></td> </tr> </table> <!--bof-navigation display --> <div id="navSuppWrapper"> <div id="navSupp"> <ul> <li><a href="http://example.com/">Home</a></li> </ul> </div> </div> <!--eof-navigation display --> <!--bof-ip address display --> <div id="siteinfoIP">Your IP Address is: 127.0.0.1</div> <!--eof-ip address display --> <!--bof-banner #5 display --> <!--eof-banner #5 display --> <!--bof- site copyright display --> <div id="siteinfoLegal" class="legalCopyright">Copyright © 2009 <br><a

href="http://www.fantasycostume.com">Fantasyland Costume Co., Inc. & Lady and the Fool

<br>ph: (310) 217-0456 (503) 828-1278 f: (888) 557-1883</a></div>

<!--eof- site copyright display --> </div> <!--bof- parse time display --> <!--eof- parse time display --> <!--bof- banner #6 display --> <div id="bannerSix" class="banners"><a href="http://example.com/index.php?

main_page=redirect&action=banner&goto=10" target="_blank"><img

src="images/banners/ladyfoolBan.gif"

width="100" height="80" /></a></div>

<!--eof- banner #6 display --> </body></html>

17 Years and still just a "Follower." :P

11 Nov 2012, 1:46 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

I really didn't want you to paste in the entire page source, just the part of it around the sorter output. A thousand lines of code takes up a lot of space:)

You posted an Advanced Search Results page, not a product listing page. On my test 1.5.1 installation with Column Grid installed, the advanced search outputs in rows only, without a choice of list/grid. I don't know why you would have had the option for grid in the first place.
Here is the relevant part of the output source: ```html

<ul id="gridSorter">Sort by: <li class="item"><a href="http://example.com/index.php?main_page=advanced_search_result&search_in_description=1&keyword=foundat ion&inc_subcat=0&page=1&sort=1a" title="Sort products ascendingly by Model" class="productListing-heading">Model</a></li> <li class="item"><a href="http://example.com/index.php?main_page=advanced_search_result&search_in_description=1&keyword=foundat ion&inc_subcat=0&page=1&sort=1a" title="Sort products ascendingly by Model" class="productListing-heading">Model</a></li> <li class="item"><a href="http://example.com/index.php?main_page=advanced_search_result&search_in_description=1&keyword=foundat ion&inc_subcat=0&page=1&sort=3a" title="Sort products ascendingly by Item Name" class="productListing-heading">Item Name</a></li> <li class="item"><a href="http://example.com/index.php?main_page=advanced_search_result&search_in_description=1&keyword=foundat ion&inc_subcat=0&page=1&sort=4a" title="Sort products ascendingly by Price" class="productListing-heading">Price-</a></li> <li class="item"></li></ul> <div class="centerBoxContentsProducts centeredContent back" style="width:32.5%;">TKCAKE<br /><a href="http://example.com/make_up/theater_kit_makeup_cake"><img ```I'm afraid I can't say anything about why the Model would appear twice from the information available. It might have something to do with the fact that it is the advanced search page and not the regular product listing page. Does the same thing happen on all product listing pages? Do you have any other mods installed on your test site?
12 Nov 2012, 6:37 PM
#11
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

I'm trying to figure out why my new products, and all products php pages aren't showing the new grid layout. I think it is because I have two php pages for those two, is there a way I can make them show the grid layout? I am a developer so I can work with the code, just need to know how to override these two layouts which are just listing the products like the default...

12 Nov 2012, 11:21 PM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

Column Grid only applies to the product listing pages, not other listings. To apply the grid to all listings, you need a different mod. There are two in Plugins, SNAF and Single Listing Template, that you may want to investigate.

13 Nov 2012, 4:55 AM
#13
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

Sorry about that. From what I can tell, "Advanced Search" is the heading that comes up when you do a regular search. I did some testing, and even set up a clean install to check.

17 Years and still just a "Follower." :P

13 Nov 2012, 12:53 PM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

The Column Grid handling only happens in the normal product listing page, when you visit a category with products. Any search or other type of listing will use its own stock listing template... unless perhaps you have other modifications that affect listings.

13 Nov 2012, 1:10 PM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

Okay, a bit more testing... The search results will use whatever is set as default for product listing (rows or columns), but will not have a list/grid sorter, as that is output by tpl_index_product_list.php, while search results are handled by tpl_advanced_search_result_default.php.

My test site's search result page when product listing is set to columns in admin shows as columns with the correct sort order selection links, not any duplicate or blank ones.

13 Nov 2012, 3:05 PM
#16
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

Do you know if either SNAF or Single Listing Template works with the latest version of Zen? I'm using the latest... I tried installing SNAF but it was very complicated, do you know of any help threads?

16 Nov 2012, 1:41 AM
#18
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

I verified that my tpl_advanced_search_result_default.php file is 1.5.1 standard and my tpl_index_product_list.php is your file. I was using a database that previously had run clg 1.3.8, but I have also tried this with a new blank database, and got the same results.

I got a test site up at http://www.fantasycostume.com/151/index.php It is giving different, yet still unacceptable results on a search page. It has a blank bullet point on both the top and the bottom, and no "Model" bullet point. It has a fresh clean database with only 3 items in it, and a clean 1.5.1 install.

You have to have the "index.php" in your URL because http://www.fantasycostume.com/ is our operational 1.38 site. Also beware of links in the center, and sideboxes of the main page of the test site, as they have absolute URLs pointing to the main site (root).

17 Years and still just a "Follower." :P

17 Nov 2012, 3:34 PM
#19
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Column Layout Grid v2.x Support

Your product listing does the same thing as the search results, so there is some general condition on your site that is causing this. I need to know all other mods you have that might affect listing displays to have a hope of diagnosing the problem.

Do you have your product listings set to display model? I presume not, since it does not show at all aside from not having a Model heading/sort link.

17 Nov 2012, 10:05 PM
#20
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Column Layout Grid v2.x Support

At this point, the only other thing that might be called a "mod" on that site is "editable sidebox." That shouldn't affect this, but I have disabled all of the sideboxes created from this mod anyway. I purposely have uploaded a fresh copy of 1.5.1 and installed clg only to solve this issue (and/or prove that the problem I was having was due to a local variable).

Next, I activated "Display Product Model", "Display Manufacturer Name", "Display Product Quantity", and "Display Product Weight." That was an educating experience. As I activated each one, there were added top the bullet point list. Then there were two "Weight"s and only one empty bullet point at the bottom. But I didn't want all those activated, so I deactivated "Weight." When I did that, it went back to having an empty bullet point at both the top and bottom. This is the code from when "Weight" was in and doubled:

<div id="productsListingTopNumber" class="navSplitPagesResult back">Displaying <strong>1</strong> to <strong>3</strong> (of <strong>3</strong> products)</div> <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward">  </div> <br class="clearBoth" /> <ul id="gridSorter">Sort by: <li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=1a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=1a)" title="Sort products ascendingly by Weight" class="productListing-heading">Weight</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=1a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=1a)" title="Sort products ascendingly by Weight" class="productListing-heading">Weight</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=3a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=3a)" title="Sort products ascendingly by Qty." class="productListing-heading">Qty.</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=4a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=4a)" title="Sort products ascendingly by Price" class="productListing-heading">Price</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=5a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=5a)" title="Sort products ascendingly by Item Name" class="productListing-heading">Item Name</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=6a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=6a)" title="Sort products ascendingly by Manufacturer" class="productListing-heading">Manufacturer</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=7a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=7a)" title="Sort products ascendingly by Model" class="productListing-heading">Model</a></li><li class="item"></li></ul>

And here is the code from when "Weight" was removed...

<div id="productsListingTopNumber" class="navSplitPagesResult back">Displaying <strong>1</strong> to <strong>3</strong> (of <strong>3</strong> products)</div> <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward">  </div> <br class="clearBoth" /> <ul id="gridSorter">Sort by: <li class="item"></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=2a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=2a)" title="Sort products descendingly by Qty." class="productListing-heading">Qty.-</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=3a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=3a)" title="Sort products ascendingly by Price" class="productListing-heading">Price</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=4a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=4a)" title="Sort products ascendingly by Item Name" class="productListing-heading">Item Name</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=5a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=5a)" title="Sort products ascendingly by Manufacturer" class="productListing-heading">Manufacturer</a></li><li class="item"><a href="[http://www.fantasycostume.com/151/index.php?main\_page=advanced\_search\_result&search\_in\_description=1&keyword=pr&inc\_subcat=0&page=1&sort=6a](http://www.zen-cart.com/view-source:http://www.fantasycostume.com/151/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pr&inc_subcat=0&page=1&sort=6a)" title="Sort products ascendingly by Model" class="productListing-heading">Model</a></li><li class="item"></li></ul>

17 Years and still just a "Follower." :P