MODX SimpleSearch uses always the default container

38 views Asked by At

I am using SimpleSearch with the default containerTpl setting (=SearchResults).

It seems that SimpleSearch uses the chunk from core/components/simplesearch/elements/chunks and not my SearchResults chunk which has been saved in the database. So no matter how I edit the chunk on the manager, SimpleSearch always uses the default version of the chunk. I even deleted the cache folder but the problem continues.

I am using MODX3.0.2 with SimpleSearch 3.0.0.

I made also a test snippet with the command:

$modx->getChunk("SearchResults") 

and that returns the correct chunk from the database. But in SimpleSearch snippet, the default version is always returned.

0

There are 0 answers