Forum Discussion

Inactive User's avatar
Inactive User
13 years ago

Freemarker/Pagination

Scenario: I'm getting blog post information and displaying it in a custom component bu using a #list and rest call. I'd like to be able to limit how many blog posts show up using page_size (which I can do) but I also want to have pagination links above the content so that a user could dynamically view the second page of posts without having to reload the whole page. Is that possible? If so, could someone point me in the right direction? Thanks.

  • Oh, so are you still showing a list of topics like usual, except that it's formatted/styled differently? If you have the same number of items, you should adjust either the setting in the admin or the page size in your component so that they're in alignment. The issue comes if the number of pages is different between what the component says there should be and what the forum page is expecting.

12 Replies