Recent searches


No recent searches

Can I add pagination to my Help Center?



image avatar

Jon Daniels

Zendesk Customer Care

Edited Jan 18, 2024


0

4

4 comments

is it possible to paginate 10 items per page?

0


I'm also interested in this. I want to set a limit of 6 promoted articles on the home page and use pagination to show the rest.

0


I figured out a way to limit the number of promoted articles.

It relies on the index of the array. I mostly want it as a safe guard against having too many promoted articles on the home page.

{{#each promoted_articles}}
{{#if (compare @index "<" 6) }}

0


Is there any variable of pagination helper? For example, {{#if pagination.has_next}} tells me if there is a next page or not? Or I must implement it with JS, instead of editing the hbs template.

0


Please sign in to leave a comment.