containerTpl
Last updated Apr 29th, 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
$311 per month—let's make that $500!
Learn moreAdvSearch's containerTpl Chunk¶
A Chunk named "AdvSearchResults" is provided with AdvSearch. This Chunk name is set as &containerTpl property on the AdvSearch snippet.
Default Value¶
<p class="advsea-results">[[+resultInfo]] - Elapsed time: [[+etime]]</p>
<div class="advsea-paging[[+pagingType]]">[[+paging]]</div>
<div class="advsea-results-list">
[[+results]]
</div>
<div class="advsea-paging[[+pagingType]]">[[+paging]]</div>
Available Placeholders¶
Name | Description |
---|---|
etime | Server elapsed time of the search. |
paging | The pagination links |
resultInfo | The message saying how many search results were found. |
results | The search results. |
but also:
Name | Description |
---|---|
total | The total number of results |
pagingType | The paging type used |
page | The current page number |
totalPage | The total number of result pages |
perPage | The maximum number of results per page |
offset | Offset of the current page |
first | Number of first result of the current page |
last | Number of last result of the current page |
separator | String used as separator between page link number (paging type 0) |
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
$311 per month—let's make that $500!
Learn more