I have installed the mod and I am using the Stirling Grand template.. I know there is something in the template that keeps resetting the Max Viewed items to the default of 10 and so it's not working.. I just don't know where it's happening.
If I use the default template, the addon works fine.
Is there a routine that reloads that variable? Is there an easy thing to look for? I tried what I thought was possibly happening, and was not successful.
Thanks for any pointers you may have.
Brian
@Brian, it sounds like you might not have installed the plugin for the stirling_grand template, if the functionality works with the classic but not the stirling_grand.
Products Pagination requires a bunch of template-override files, make sure that all of these files from the plugin's distribution are included (and possibly merged) into the stirling_grand template's folders:
Code:/includes/languages/english/extra_definitions/YOUR_TEMPLATE/products_pagination.php /includes/modules/YOUR_TEMPLATE/product_listing.php /includes/modules/YOUR_TEMPLATE/product_prev_next.php /includes/templates/YOUR_TEMPLATE/css/stylesheet_prod_pagination.css /includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_listing_display_order.php /includes/templates/YOUR_TEMPLATE/templates/tpl_products_next_previous.php
That's what I thought, but I redid the upload again.. Do you know where it pulls this variable and what the variable is? Is there a function that does this? Which one? and I can trace from there.
I think that the person that did the stirling_grand template has a function somewhere that is pulling the variable again..
Thanks!
Brian, the plugin uses functions present in /includes/functions/extra_functions/products_pagination_functions.php to create all the form elements for the pagination display.
Solved the problem.. It was a conflict with Stirling and the mod.. I just used the main stirling ones and merged..
Thanks for actually pointing me in a direction I wasn't looking!
Brian
I've just uploaded v2.0.0 of Product Pagination to the Plugins section for review.
Note: Starting with v2.0.0, the plugin drops support for Zen Cart versions prior to 1.5.5.
I've done some serious restructuring, to reduce the plugin's "footprint" on the core- and template-files that require changes; all changes are "properly" marked in those changed files. The plugin now uses an admin-level initialization script to add its configuration to the database and provides an additional configuration setting so that you can disable the plugin (reverting to your template's supplied next/prev handling) on phone/tablet devices.
Bookmarks