Hello
Does anybody know how to add a filter like this &filter=`id,152,2` for instance into the ditto config file instead of having it in the snippet call? Can’t figure it out what the proper syntax would be.
Thank you
seems to work - I was kind of confused that I wasn’t getting any headline - no documents found - however, this only happens when having a 2nd ditto call on the page?
the language parameter however seems to be ignored totally in the config file.
ok, this is because the config-file is loaded after the language file.
don’t know, if this would work, but you can try this in your config-file:
$language='xxx';
$filevalue=$ditto_base."lang/$language.inc.php";
if (file_exists($filevalue)) {
include($filevalue);
}
thanks Bruno - really appreciate your input.
another thing I discovered is that the truncLen parameter is ignored as well - it works if I set it in the config file - so it’s just the other way around.