Hello,
How would add a Grid and List view icons to the right to show the correct template if clicked on. Would I need two installations sharing the same PT database or is there another way? It is just nice to scroll to read details or browse like a visual shopper also.
How could this be done?
Thank you
I would like a similar mod. Can we have the brands, merchants, categories and featured products to display in fixed width.
So for example the featured products would start a new line every 3 listings
The categories also seem to display in a rather long list. Can this also be broken up into columns, along with brands and merchants
thanks, TPH
Hello TPH,
Sure - there is already a column feature for the A-Z lists built in. In html/atoz.php you can change the number of columns at line 3:
$columns = 1;
Hope this helps!
Cheers,
David.
--
PriceTapestry.com
Easy as that, fantastic. Where will I find out about the other features this file offers?
Thanks, TPH
Hi TPH,
Number of columns is the only configurable parameter in the grid version of the serach results HTML module...
Cheers,
David.
--
PriceTapestry.com
Hi David,
Do I also send you these two pages for you to apply the switch or is it published somewhere?
Thanks, TPH
Hi,
I've posted the alternative versions to the downloads page for distributions 12/10B and 13/03A...
Cheers,
David.
--
PriceTapestry.com
Hello David,
Is it possible that if someone clicks on grid view or list view then all searches new in addition to pagination, search filters would still go to the selected preference for the user to browse. I noticed it defaults 'list view'
Thank you,
Michael
Hi Michael,
You could persist the view by setting a cookie. In search.php look for the following code around line 12:
$view = (isset($_GET["view"])?$_GET["view"]:"");
...and REPLACE with:
$view = (isset($_GET["view"])?$_GET["view"]:
(isset($_COOKIE["view"])?$_COOKIE["view"]:"")
);
setcookie("view",$view);
Cheers,
David.
--
PriceTapestry.com
Hi,
Is it applicable to the wordpress plugin?
I can't find this setting for the merchant list page.
Hi,
The above applies to standalone Price Tapestry. I know i've already suggested changes so if you'd like to email me your latest version of pto_search.php I'll add similar code for the plugin for you...
Cheers,
David.
--
PriceTapestry.com
Hi David,
I'm currently moving my existing PT site (V 13) to the new responsive layout, which so far is easier than i expected. I used the Grid-Version of the search results (as described above), especially for related products, and really liked it, is there a responsive version available somewhere?
thanks
erv
Hello erv,
Sure - I have made a Grid / List version of the ResponsiveHTML version of html/searchresults.php, based on the Featured Products layout for grid view.
I know you have been using the script for a couple of years so in case your email address is no longer current if you could email me a copy of the associated top level search.php that you are using, I'll double check that it's setting the "view" parameter in the way expected and then I'll forward the new version to you...
Cheers,
David.
--
PriceTapestry.com
Hi David,
Was searching for the same.
Can you send me the new grid version to?
Thanks!
Leo
Hi Mike,
I've done this mod for a few users - if you would like to email me your search.php and html/searchresults.php i'll add merge the grid view version of search results and add a link to switch...
Cheers,
David.
--
PriceTapestry.com