OK folks: my bad! I had made an alteration to the reflect snippet code that I finally found. It’s actually a reversion of a handful of lines to a pre-modx 1.x version. This is only good for php <= 5.2.x, though, as the way that the func_get_args is used is deprecated in 5.3. Once I get a few more moments, I’ll see if I can untangle and really fix the problem so it’s forward compatible. Anyway, here ’tis:
Replace 279-287:
$reflectParameters = array('reflect_base','config','id','getDocuments','showItems','groupByYears','targetID','yearSortDir','monthSortDir','start','phx','tplContainer','tplYear','tplMonth','tplMonthInner','tplItem','save');
$params =& $modx->event->params;
if(is_array($params)) {
foreach ($params as $param=>$value) {
if (!in_array($param,$reflectParameters) && substr($param,-3) != 'tpl') {
$dParams[$param] = $value;
}
}
}
With:
$allParameters = func_get_args();
$reflectParameters = array('reflect_base','config','id','getDocuments','showItems','groupByYears','targetID','yearSortDir','monthSortDir','start','phx','tplContainer','tplYear','tplMonth','tplMonthInner','tplItem','save');
foreach ($allParameters[1] as $param=>$value) {
if (!in_array($param,$reflectParameters) && substr($param,-3) != 'tpl') {
$dParams[$param] = $value;
}
}