Dimitri Hilverda
Dimitri Hilverda
+1 for me, would like to have an option to search with insensitive case.
Yes I did, sort of, I do a query, then get results, with the results I do another query, and so on until all are done. https://gist.github.com/dimitrihilverda/dde5fa04b05bdb1a94634dba9b25e64a
My suggestion would be that this MODX_BASE_PATH replacements must be a option maybe? if there is a setting to disable this or add other Constance to use there, Or remove...
Tested this and this works, and as far as I can see does not break any other thing.
This is still the problem, the strange thing is that this check for MODX_BASE_PATH or MODX_CORE_PATH is only in the @FILE part, but when you use and file: {include 'file:elements/chunk/structure/head.tpl'}...
This should work: &sortConfig=`[{"sortby":"RAND()","sortdir":"ASC"}]` That way the chosen field is randomised, giving you a differed order, the more columns/fields you have the more random it looks.
Is your snippet static? if so, that's the problem, somehow in the newer modx versions this can not be a static file.
I have a huge config, I use multiple migx configs with multiple formtabs, do you need also all the formtabs?
I think that the problem is as follows: I use a fieldname from a 2nd migx that I use in the multiple migx configs, called chunk-name, the problem I created...