containerTpl
Last updated Mar 6th, 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
$311 per month—let's make that $500!
Learn moreSimpleSearch's containerTpl Chunk¶
This is the Chunk displayed with the &containerTpl property on the SimpleSearch snippet. It contains the search results, pagination and count message.
Default Value¶
<p class="sisea-results">[[+resultInfo]]</p>
<div class="sisea-paging"><span class="sisea-result-pages">[[%simplesearch.result_pages? &namespace=`sisea` &topic=`default`]]</span>[[+paging]]</div>
<div class="sisea-results-list">
[[+results]]
</div>
<div class="sisea-paging"><span class="sisea-result-pages">[[%simplesearch.result_pages? &namespace=`sisea` &topic=`default`]]</span>[[+paging]]</div>
Available Placeholders¶
Name | Description |
---|---|
resultInfo | The message saying how many search results were found. |
results | The search results. |
paging | The pagination links |