Hi All,
First post here. Been using MODx Revo to create sites for clients for the past few years and have a question that I seem to have yet found a solution for.
I'm not sure if my setup creating a MODx is how other people do it, but usually I put most variables that I want a client to change within a TV. For things such as sliders on pages I'll use a MIGX TV to allow an item to repeat and for other items. For items that need their own sub pages (such as client partners) i'd use collections to keep the documents together and then assign template variables to those.
The problem I've been having is that using SimpleSearch these TVs aren't searchable. Much of the content that is inside the TV is usually the content that a user would want to search, and so I've been looking to move away from SimpleSearch until it gets TV searching support. I've tried AdvSearch but I can't seem to find any reference to the script that creates an index of the site for Lucene to search so that seems like a dead end.
Recently I've tried using the ContentBlocks plugin (paid) which allows for various blocks to be inserted into the page and those blocks can have settings similar to template variables. These settings can be inserted into the ContentBlock output template which means that SimpleSearch can find those variables. It works, but that's mainly down to ContentBlocks rendering out the settings to HTML when the page is saved.
Any thoughts on a better way of doing this, or a way I can get a search module to search TVs?
Thanks,
Gareth