It does it on the product pages as well not just the main page slider
It does it on the product pages as well not just the main page slider
The problem is that the main page's slider defines the paging for the slider using the same class name as the products' pagination. Since stylesheet_slider sorts higher alphabetically than stylesheet_prod_pagination, it's being loaded after the pagination stylesheet and causing its styles for the pagination class to be applied to the pagination links.
Since the slider is only used on your home page, I suggest renaming stylesheet_slider.css to index_home.css so that it's only loaded on the home page. That way its definitions for the styling of the pagination class won't conflict with those in the products' pages.
Thanks for the reply. Pulling the pagination from the slider css worked
Hello and thanks for this great addon! :)
I have a one question, how can I setup this to work with descending model order? Products are listed in descending order by their model number, but pagination is opposite of that. First product with largest model number is displayed last in pagination and I have to click "previous" to go to the second product.
What I'm trying to say is that I want to reverse pagination order. By clicking next-button, it should go to product that has smaller model number. Pagination numbers should be 1=largest model number, 2=one smaller and so on...
My site is: www(dot)hkproduction(dot)fi(/)kauppa
Is there something that I can change from the code? I don't believe it's the settings that causes this, because it worked with the original prev-next code.
For some reason, pagination is still having issues with dropping the search_in_description variable on the advanced search results page. If I use the search on the advanced search page for burningbutterfly . com for "red" and choose the "search in description" option, I initially get 115 results but that drops to 17 when I paginate. If I manually add the search_in_description back into the url, the correct number of products returns. I'm using the most recent version and have replicated the error on a clean install of zen cart v1.5.1. I've also looked at a couple of other sites that use this mod and it's happening there too.
When I use web developer for ff to display hidden content, search_in_description is attached to the function.
If you get the chance, would you please direct me where I need to look to try to fix this?
Thanks in advance!
I see the issue, but no "ready" fix at this time (that search page was a pain, if I remember correctly!). I'll give it a look later today or early tomorrow.
I think I found it ... look in the plugin's /includes/classes/split_page_results.php, starting at line 95:
and back that change out:Code://-bof-product pagination // if (strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) { if ((strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) && is_numeric($count_key)) { //-eof-product_pagination
Let me know if this gets it (it did on one of my sites) and I'll package up a bugfix release.Code:if (strpos($query_lower, 'distinct') || strpos($query_lower, 'group by')) {
Unfortunately not. Because it isn't passing parameters, I was thinking (and please feel free to correct me if I'm wrong) it had to be one of the href lines in either the class or function. Either way, it isn't a big deal - I'm not getting enough visitors to necessitate a full in-depth search; I just like to know how things work so I can learn to fix them myself.
What version of products_pagination are you using? I ask because the mini-form for the dropdown pagecount has an onchange="this.form.submit();" parameter, but yours has onsubmit="this.form.submit();", so there's been some messing in /includes/classes/split_page_results.php. It's also not usual that all the next-page links are disabled.
Bookmarks