modx - Wayfinder not respecting &level=`0`? -
i have following wayfinder call:
[[wayfinder? &startid=`0` &level=`0` &includedocs=`5,6,7,11,12`]]
this should show links listed resources, kept in parent resource. however, not. way can work include parent resource startid:
[[wayfinder? &startid=`3` &level=`0` &includedocs=`5,6,7,11,12`]]
this ok if resources under 1 parent, have variety of resources on variety of levels , parents can not display.
does know doing wrong?
if specify includedocs list docs, you'll need either set startid parent or include neccessary parents in includedocs call.
(line 539 in wayfinder.class.php: )
/* if set, limit results specific resources */ if (!empty($this->_config['includedocs'])) { $c->where(array('modresource.id:in' => explode(',',$this->_config['includedocs']))); }
Comments
Post a Comment