So when you are on a page say for example Home >> About you can get About's children and display them as navigation??
What happens if Home >> About >> Welcome does not have any children? In that situation I want to be able to display About's children on the left instead of nothing. So any place within my tree I want the ability to display the parent if no children exist. Is that possible? Kelly -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Kent Sent: Wednesday, June 30, 2004 4:25 PM To: FarCry Developers Subject: [farcry-dev] Re: secondary left navigation Kelly, If you look at the code for the menus, you will see that it uses the following to get all the descendants from the home page application.factory.oTree.getDescendants(objectID=#application.navid.hom e#) Without know exactly what you intend to do with your menu you could replace the #application.navid.home# with #request.navid# - this will give you all the descendants for the current page. If you just want one level down then replace getDescendants with getChildren. hth, Chris. Kelly Keith wrote: > > Does anybody have any recommendations or variables I can cycle through > to get this subpage navigation working? > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
