Thanks Ottogal. The behavior of your code is the same whether parent resources (34 or 43) or their respective child resources. This is exactly the behavior required, only problem is I do not want it displayed the way it is now: displaying all the menus from Home to the very last (only indenting the child resources underneath the parent).
The intended is to only show the links to child resources whether viewing the parent or child. So if you have parent (34 - About Us) with children (
- 35 - Mission,
- 36 Approach,
- 37 - Principles
), the menu will turn out to be just Mission, Approach, and Principles (whether you are viewing resource 34 (About Us) or any of 35, 36, 37)
[ed. note: ojchris last edited this post 12 years, 4 months ago.]