Navigator childrenof : no output
Navigator childrenof : no output
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Navigator childrenof : no output
Just tested this exact code in a content page that had children.
Worked as expected.
Worked as expected.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Navigator childrenof : no output
OK, will test further then.
Re: Navigator childrenof : no output
/modules/Navigator/action.default.php
line 233 has a typo in the variable name:
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
Right. It works now. Thanks.