Jump to main content Jump to doc navigation

SimpleSearch'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

See Also

  1. SimpleSearch.SimpleSearch
    1. SimpleSearch.SimpleSearch.containerTpl
    2. SimpleSearch.SimpleSearch.currentPageTpl
    3. SimpleSearch.SimpleSearch.pageTpl
    4. SimpleSearch.SimpleSearch.tpl
    5. SimpleSearch.Faceted Search Through PostHooks
  2. SimpleSearch.SimpleSearchForm
    1. SimpleSearch.SimpleSearchForm.tpl
  3. SimpleSearch.Solr

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

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • eydolan
  • Following Sea
  • Lefthandmedia
  • Murray Wood
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • Nick Clark
  • A. Moreno
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$311 per month—let's make that $500!

Learn more