modx:simplesearch
Dies ist eine alte Version des Dokuments!
Simplesearch Tipps
Das exclude-Feld funktioniert nicht. Mit dem include-Feld „ids“ kann eins sich aber behelfen, in dem eins das Feld automatisiert auffüllt, in dem pdoresources und ein placeholder genützt wird-
[[pdoResources? &parents=`0` &depth=`4` &toPlaceholder=`allids` &tpl=`@INLINE [[+id]],` &tplLast=`@INLINE [[+id]]` &resources=`-7,-8,-10,-11,-19,-20,-21,-22` ]] [[!SimpleSearch? &highlightResults=`1` &containerTpl=`SearchResultsContainer-[[++cultureKey]]` &highlightTag=`mark` &toPlaceholder=`results` &noResultsTpl=`SearchNoResults-[[++cultureKey]]` &tpl=`SearchResultRow-[[++cultureKey]]` &extractLength=`90` &ids=`[[+allids]]` ]] [[+results]]
modx/simplesearch.1607096493.txt.gz · Zuletzt geändert: 2020-12-04 16:41 von t.schuermann