Pregunta

I'm trying to implement a search for my FAQs page. I'm using the modx extras FAQ Manager and SimpleSearch. SimpleSearch works quite well if you're searching modx resources, but the problem I've run into is how to search a database table for example the FAQ Manager table where the content is not tied to a resource. Is this possible?

I've noticed that SimpleSearch has a &customPackages property, but I can't seem to get it to work. If someone could show me an example of how to use simple search in conjunction with FAQ Manager, I would be most appreciative.

¿Fue útil?

Solución

You can search in a custom package through AdvSearch with a custom queryhook: http://www.revo.wangba.fr/custom-package-dvd-shop/

and the corresponding snippet since the link doesn't seem to work: http://www.revo.wangba.fr/assets/files/advsearch/queryhook/dvdqhook.snippet.txt

Otros consejos

I believe you can use the advanced search package to search database tables: http://rtfm.modx.com/extras/revo/advsearch

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top