We already do this, check out the topic https://community.nodebb.org/topic/180/who-is-using-nodebb it has these
<link rel="canonical" href="https://community.nodebb.org/topic/180/who-is-using-nodebb" /> <link rel="up" href="https://community.nodebb.org/category/2/general-discussion" /> <link rel="next" href="https://community.nodebb.org/topic/180/who-is-using-nodebb?page=2" />Pagination up top
-
So, when pages are paginated, you have to scroll to the bottom to go to the next page, could we get a similar page picker up top too? Oh and on the category page as well would be great. I often miss that there's a second page. Because I'm dumb.
-
@a_5mith said:
So, when pages are paginated, you have to scroll to the bottom to go to the next page, could we get a similar page picker up top too? Oh and on the category page as well would be great. I often miss that there's a second page. Because I'm dumb.
You can add that yourself using the template variables
@first
and@last
I believe. I haven't tried it yet but it should work. @psychobunny is this proper use of these variables? Or you can just copy and paste the pagination block and put it at the top. -
@trevor said:
Or you can just copy and paste the pagination block and put it at the top.
Most likely this is all that is required... @barisusakli would have a better idea though
-
Sorry, let me clarify. Copy and paste this somewhere at the top of your
category.tpl
<!-- IF config.usePagination --> ... <!-- ENDIF config.usePagination -->
And everything in between this.
-
@trevor I meant for this forum,
i don't use pagination over on my dev board, but i replied to a post yesterday, then found out there was a second page and 4 more posts from 20 minutes before and the topic was more or less solved
-
Just copying that to the top should work. I think I tried putting a second pagination to the top but didn't look that good with the current styling might give it another shot.
-
I meant for this forum
hmmmm, that sounds like a different problem altogether lol (pagination is disabled on this forum!)
Or do you have it activated in your user settings?
-
@psychobunny
turns out I did, well that's that sorted then, but I think if pagination is enabled, it should be a little more than just at the bottom of the page. But not a huge issue.
-
Did you know you can click on the
^ 9 out of 9 v
pagination on the top? If not then it's a UX issue instead. Unless that isn't achieving what you are expecting -
@psychobunny I diiid, but when the page is set to paginate, the only way I've found to change pages, is right at the bottom of the page. Pagination should ideally be top, bottom and categories, just like all other forum software.
I don't use the pagination (since you reminded me that it's a setting in profile
) but for anyone that does, familiarity is key.
-
Yeah I agree, maybe we could move pagination into the post bar:
That would make it not look too bad since its the same on the top and bottom