User selectable pagination
-
For those who prefer traditional pagination you can now enable it from user/settings page. You can select the number of posts/topics per page too. It only works for category and topic views for now but we may extend it over to /recent /unread /popular in the future.
-
Appreciate it
-
Very nice! However, this brings up an interesting situation. Does the pagination setting in the ACP take precedence over the user pagination setting? And will there be an option in the pagination settings page in the ACP that will make it possible for the admin to override the user-specific setting?
-
What I think is more important than the decision whether users are allowed to use pagination or not is letting the admin set a maximum value for per-page entries therefor users cannot exceed the bandwidth in large topics by setting posts per page to 99999999 or whatever.
Also nice would be sth. like a mix of pagination and ininite scrolling by enabling infinite scroll for each page, therefor you can easily paginate to the last page (in many circumstances nice to have) and within each page you appreciate infinite (until the pages end or even update the navigation to sth. like
1 | 5 | 6-8 | 9 | 42
) scrolling -
I agree with the max limit. As for infinite scroll vs. pagination - at least for me - feels very much like a user preference thing rather than something to impose on your users
-
Issue: the URL with pagination shows sth. like
?page=5
. With user-defined page-sizes it's the wrong behavior since the users may want to share specific pages. you may change it to sth. like?posts=20-40
Btw: A reference-anchor for each post would be great too
-
Yeah, gets very confusing once you factor in page #s and such. I'd prefer the "posts per page" and "topics per page" options remain admin-only, while allowing users to toggle between pagination and infinite scrolling.
A "hybrid" pagination+infinite scrolling would be nice as well, so you can get the best of both worlds.