How can I use pagination without knowing the page segment |
[eluser]MyDarkPassenger[/eluser]
I'm using the pagination library. One problem I have with it is passing extra data into the links uri. Since pagination needs to know the segment that the page appears in, I can't change the amount of segments in the uri. So I have to pass longer uris like this: http://localhost/test/main/index/sortby/.../all/page/ instead of cleaner, smaller ones like this. http://localhost/test/main/index/sortby/name/page/ Is there a way to check for the segment using a name like page instead of a segment like 8. Also, if I need to use segments is there a way to modify the url used by pagination so that I can specify where the page segment can be added like: "http://localhost/test/main/index/page/" . $page . "/sortby/name/"; This way I can always use segment 3 no matter how long the string is. |
Messages In This Thread |
How can I use pagination without knowing the page segment - by El Forum - 09-15-2009, 09:48 PM
How can I use pagination without knowing the page segment - by El Forum - 09-15-2009, 10:32 PM
How can I use pagination without knowing the page segment - by El Forum - 09-16-2009, 12:34 AM
How can I use pagination without knowing the page segment - by El Forum - 09-16-2009, 04:47 AM
How can I use pagination without knowing the page segment - by El Forum - 09-17-2009, 09:34 AM
|