Jump to main content Jump to doc navigation

AdvSearch'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 &currentPageTpl properties on the AdvSearch snippet.

<span class="advsea-page"><a href="[[+link]]">[[+text]]</a></span>
<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.

See Also

  1. AdvSearch.AdvSearch
    1. AdvSearch.AdvSearch.containerTpl
    2. Advsearch.AdvSearch.extractTpl
    3. AdvSearch.Advsearch.paging1Tpl
    4. AdvSearch.AdvSearch.paging0Tpl
    5. AdvSearch.AdvSearch.tpl
  2. AdvSearch.AdvSearchForm
    1. Advsearch.AdvSearchForm.tpl
  3. AdvSearch.AdvSearchHelp
    1. AdvSearch.AdvSearchHelp.helplinkTpl

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
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Digital Penguin
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard

Budget

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

Learn more