Quote from: franzlst at May 19, 2011, 03:04 PMHi,
I've implemented SimpleSearch on my homepage and it works quite well on page resources. Now I tried to add the search of Quip comments. The wiki tells me how to do so:
[[!SimpleSearch? &useAllWords=`1` &highlightTag=`em` &customPackages=`QuipComment:body:quip:{core_path}components/quip/model/:QuipComment.resource=modResource.id` ]]
But now I have no results at all, even none of normal pages. Am I doing something wrong?
Thanks!
Franz
I tried hard to get the code from wiki example working (
http://rtfm.modx.com/display/ADDON/SimpleSearch.SimpleSearch) and finally solved it by
changing letter case of the class (and removing 'useAllWords' from snippet call in this particular case I think)...
The following works perfect for me:
&customPackages = `quipComment:body:quip:{core_path}components/quip/model/:quipComment.resource = modResource.id`
Note that the only difference is using 'quipComment' instead of 'QuipComment'.