Page 1 of 1

Navigator childrenof : no output

Posted: Tue May 16, 2017 9:33 pm
by Franck
Just tried to have a subnav with the help of {Navigator childrenof=$page_alias} in a page, then in a template: nothing is visible, in the code either.

Re: Navigator childrenof : no output

Posted: Wed May 17, 2017 7:22 pm
by calguy1000
Just tested this exact code in a content page that had children.

Worked as expected.

Re: Navigator childrenof : no output

Posted: Wed May 17, 2017 7:25 pm
by Franck
OK, will test further then.

Re: Navigator childrenof : no output

Posted: Wed May 17, 2017 8:33 pm
by velden
/modules/Navigator/action.default.php

line 233 has a typo in the variable name:

Code: Select all

00000230     else if( $childrenof ) {
00000231         $tmp = $hm->sureGetNodeByAlias(trim($childrenof));
00000232         if( is_object($tmp) ) {
00000233             if( $tmp->has_children() ) $rootnodesn = $tmp->get_children();
00000234         }
00000235     }

Re: Navigator childrenof : no output

Posted: Wed May 17, 2017 8:38 pm
by Franck
Right. It works now. Thanks.