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.
$292 per month—let's make that $500!Learn more
SimpleSearch's tpl Chunk¶
This is the Chunk displayed with the &tpl property on the SimpleSearch snippet.
<div class="sisea-result"> <h3>[[+idx]]. <a href="[[+link:is=``:then=`[[~[[+id]]]]`:else=`[[+link]]`]]" title="[[+longtitle]]">[[+pagetitle]]</a></h3> <div class="extract"><p>[[+extract]]</p></div> </div>
Any field on a Resource is available to use as a property, as well as:
|extract||If &showExtract is set to 1, this will be the extracted part of the Resource's content where the search term was found.|