Recent searches
No recent searches
Section & sub-section pagination
Answered
Posted Oct 19, 2021
Good day,
We are currently trying to add {{pagination}} to sections (with more than 30 sub-sections). Despite adding the pagination helper to the bottom of the (custom sections template, it does not show the pagination options on the rendered page.
Could you perhaps advise on things we could look out for? Our dev had a look as well and slightly baffled that it is not showing up.
The template changes does update succesfully and gives an error when the helper is not added in the correct place. We have cleared cache & browser history and tried multiple devices to make sure it's not a browser limitation.
Thank you in advance,
Louis
1
5
5 comments
Eric Nelson
Hey Louis,
Do you feel comfortable showing code snippets of how you're implementing this? That will help us to be troubleshoot more effectively. If not, I'd suggest opening a support ticket so we can take a closer look.
Thanks!
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy
0
Louis Eloff
Hi Eric,
Thank you so much. Herewith the code on the sections-template we are using:
Please let me know if this helps, otherwise I will follow your suggestion instead :)
Best regards,
Louis
0
Eric Nelson
Hey Louis,
It looks like you're using this on the sections page. For use on the section page you'll want to use the identifying parameter to call out that you want it to paginate the sections. If you switch the paginate helper to the below snippet it should resolve your issue.
For future reference, you can find this discussed here.
Hope this helps!
Eric
2
Louis Eloff
Hi Eric,
That did the trick :D I was not sure how to use the helper and was looking for an example in the meantime but couldn't find any.
Now that I did it as per your clarification, everything is perfect and the pagination options are showing on the rendered pages 8)
Thank you so very much again!!
Louis
1
Eric Nelson
Glad to hear Louis! Let us know if there is anything else we can assist with.
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy
0