can't make pager work

A forum for Bolt related questions / issues

can't make pager work

Postby got10thumbs » Thu Jan 29, 2015 12:31 pm

I'm displaying a list currently of 31 items. I think I've followed the instructions at ; the relevant part of the template says:
Code: Select all
        {% setcontent plantlist = 'plants' orderby 'title' allowpaging %}
        {% for p in plantlist %}
           {{ p.title }} <br>
        {% endfor %}
        {{ pager() }}

But I'm getting no paging. When I inspected _sub_pager.twig I found references to a variable called
Code: Select all
which seems to relate to the number of records per page, but which doesn't seem to be set anywhere that I can find; could that be relevant?

Can anyone tell me what I'm doing wrong?

Posts: 3
Joined: Mon Jan 26, 2015 3:14 pm

Return to Bolt Discussion

Who is online

Users browsing this forum: No registered users and 3 guests