Welcome Guest, Not a member yet? Register   Sign In
Pagination with variable uri
#2

[eluser]JoostV[/eluser]
You may want to try the pagination automated library. Basically, once you load the library you have instant pagination. It just assumes that you use the following naming convention for paging: Page/offset. You need to have this somewhere (anywhere) in your URI.

Two advantages here: pagination with less coding and configuration, and you can run a simpleb check on your uri. If segment 3 is an integer, you can assume only show a company or category is given. If it it is a string ('Page'), run your if statements.


Messages In This Thread
Pagination with variable uri - by El Forum - 10-21-2009, 02:51 PM
Pagination with variable uri - by El Forum - 10-21-2009, 04:21 PM
Pagination with variable uri - by El Forum - 10-22-2009, 01:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB