Thanks, but it’s definitely Ditto. I made a test that ends with:
$snippet = $modx->runSnippet(’Ditto’, $p);
Still no go.
re: Number of filter parameters: If it works in the frontend with 2 parameters, why should it fail when I run it in a module?
Besides, Mark uses only two in this thread:
http://modxcms.com/forums/index.php/topic,22398.msg143984.html#msg143984
Who would know better than him?
Somewhere along the line, $modx->makeUrl() is used. That’s not in my code, it’s got to come from somewhere else.
If I interpret this right, then modx doesn’t receive a parameter for makeUrl. But why that id would get lost, is beyond me.
`` is not numeric and may not be passed to makeUrl()
Anyway, I decided to not lose any more time (and hair) with this, so I moved everything to the frontend, where I know it will work as advertised :]