Hi Helio, this is some fantastic work you’ve done with tvExplorer and tvEditor, a great addition to MODx. I do have a couple of questions though.
Firstly, regarding the filter parameter, in the Ditto documentation there seems to be two mode lists. On this page
http://ditto.modxcms.com/tutorials/basic_filtering.html you have 8 modes but on this page
http://ditto.modxcms.com/files/snippet-ditto-php.html#filter there are 3 extra modes:
9 -> case insenstive version of #7;
10 -> case insenstive version of #8;
11 -> checks leading character of the field.
I don’t know if the Ditto documentation is just out of date but I would like to use mode 9 in a text field search for case insensitive string matching. Since you have added your own mode 9, this option doesn’t work. Is there a way to change the case sensitivity on a text search or to have these modes incorporated?
Secondly, is the fullText parameter working and if so, what is the correct syntax for using it? I tried fullText->true, fullText->false, fullText->1 and fullText->0 but they all seem to produce the same results.
I tried the fullText parameter hoping it would solve the case sensitivity problem I was having and it worked but it works whatever I set the value to! Also, when I added the fullText parameter, it printed the SQL statement to the page. I commented out line 328 (echo $debugSQL;) in the tvExplorer snippet to stop the SQL being printed to the page if that’s the right thing to do.