tpl.PageBreaker.navigation
Last updated Apr 6th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn moreDescription¶
It is the chunk for pagination.
<div style="margin-top: 10px; text-align: center;"><div style="margin-top: 10px; text-align: center;">
[[+pb.link_prev:isnotempty=`<a href="[[+pb.link_prev]]" class="load_page">← Previous page</a>`]]
<b>[[+pb.current]]</b> from <b>[[+pb.total]]</b>
[[+pb.link_next:ne=``:then=`<a href="[[+pb.link_next]]" class="load_page">Next page →</a>`:else=`<a href="[[~[[*id]]]]" class="load_page">To beginning</a>`]]
</div>
Placeholders¶
There is only four simple placeholders.
Placeholder | Description |
---|---|
pb.link_prev | Link to previous page |
pb.link_next | Link to next page |
pb.current | Number of current page |
pb.total | Total pages |
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn more