Welcome Guest, Not a member yet? Register   Sign In
Pagination problem, getting a blank page.
#7

[eluser]Aken[/eluser]
I don't know what you're experiencing, but maybe you're a bit confused on the way the Pagination class works. By default, the URL numbers generated are the beginning result count, with that number + results per page being the end result to return.

For instance, say you have a blog with XXX posts, and you want to show 10 per page. If you visited example.com/blog, you'd see 1-10. If you went to example.com/blog/10, you'd see 11-20 (or whatever exact number you set up). Example.com/blog/120 would show you 121-130, etc etc.

The class uses the beginning item count as a "page" number, instead of normal page numbers (eg. blog/page-3).


Messages In This Thread
Pagination problem, getting a blank page. - by El Forum - 09-03-2009, 01:07 PM
Pagination problem, getting a blank page. - by El Forum - 09-03-2009, 01:51 PM
Pagination problem, getting a blank page. - by El Forum - 09-03-2009, 02:39 PM
Pagination problem, getting a blank page. - by El Forum - 09-03-2009, 03:57 PM
Pagination problem, getting a blank page. - by El Forum - 09-04-2009, 01:11 AM
Pagination problem, getting a blank page. - by El Forum - 09-04-2009, 11:03 AM
Pagination problem, getting a blank page. - by El Forum - 09-05-2009, 10:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB