Welcome Guest, Not a member yet? Register   Sign In
Pagination suffix & reuse_query_string problem
#4

(This post was last modified: 09-07-2016, 01:31 PM by PaulD.)

No, I have just been taking a look at the pagination class for you and I don't think you can.

When I do pagination I always do it myself, it really is not that hard using offset in your database queries and one or two calculations for number of pages etc to achieve the same. I think I tried pagination once long ago but as with all these things, as soon as you want to do something a bit different with them you get stuck pretty quickly with what the helper wants to do. A bit like the now deprecated cart class.

I did wonder why you wanted query strings, segments, and anchors on all your links, but I am sure you have good reason. You could possibly add a class to all the links and use JS to add an anchor, but it seems like a hefty workaround just to add #anchor and probably not the way to go. I hope someone else with more experience with pagination has a solution for you.

Good luck

Paul
Reply


Messages In This Thread
RE: Pagination suffix & reuse_query_string problem - by PaulD - 09-07-2016, 01:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB