paging0Tpl
Last updated Mar 12th, 2021 | 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 moreAdvSearch's paging0Tpl Chunk¶
A Chunk named "Paging0" is provided with AdvSearch. This Chunk name is set as &paging0Tpl property on the AdvSearchAdvSearch snippet.
Default Value¶
<span class="advsea-result-pages">[[%advsearch.result_pages? &namespace=`advsearch` &topic=`default`]]</span>[[+paging0]]
Available Placeholders¶
Name | Description |
---|---|
paging0 | The pagination. |
AdvSearch's pageTpl and CurrentPageTpl Chunks¶
Two Chunks named "PageLink" and "CurrentPageLink" are provided to set up the paging type 0.
These Chunk names are set as &pageTpl
and ¤tPageTpl
properties on the AdvSearch snippet.
Default Value for PageLink¶
<span class="advsea-page"><a href="[[+link]]">[[+text]]</a></span>
Default Value for CurrentPageLink¶
<span class="advsea-page advsea-current-page">[[+text]]</span>
Available Placeholders¶
Name | Description |
---|---|
link | The link to the page |
text | The page number |
You could define the separator between page link numbers by using the pagingSeparator parameter.