Answer the question
In order to leave comments, you need to log in
[[+content_image]]
Why is the SimpleSearch search term not highlighted?
There is no highlighting of the searched word in the search results.
Calling the snippet on the results page:
[[!SimpleSearch?
&tpl=`simpleSearchResTpl`
&includeTVs=`1`
&processTVs=`1`
&noResultsTpl=`noResTpl`
&perPage=`0`
]]
Answer the question
In order to leave comments, you need to log in
It does not highlight, but only wraps in a span tag and only in the text that is displayed through the placeholder [[+extract]] . And it is also case sensitive. That is, when searching for the word "test" in the output of the results, the word "Test" will not be highlighted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question