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.
$305 per month—let's make that $500!Learn more
AdvSearch's tpl Chunk¶
A Chunk named "AdvSearchResult" is provided with AdvSearch. This Chunk name is set as &tpl property on the AdvSearch snippet.
<div class="advsea-result"> <h3>[[+idx]]. <a href="[[+link:is=``:then=`[[~[[+id]]]]`:else=`[[+link]]`]]" title="[[+longtitle]]">[[+pagetitle]]</a></h3> <div>[[+extracts]]</div> </div>
|idx||Number of result. could be use inside the AdvSearchResult chunk to alternate class.|
|link||By setting this placeholder you override the Resource id as url target|
|id||The resource id used as url target|
|fieldName||Any field value from the list of fields provided by the field parameter.|
|TVName||Any TV value from the list of TV provided by the withTVs and includeTVs parameter.|