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...
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.
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.
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.
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.
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?
Re: Column Layout Grid v2.x Support
I know that niccol has a support thread for SNAF. I don't know about the mods' v1.5.1 status.
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).
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.
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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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&keywo rd=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>