excellent! -- Regards, Michael J. Sammut ________________________________________________ F O U R E Y E S P R O D U C T I O N S
think | plan | create :: web site design & development :: NYC E. [EMAIL PROTECTED] | T: 718.254.9557 ext. 101 | F: 718.254.0399 W. http://www.foureyes.com "Brendan Sisson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Michael @Four Eyes wrote: > > > Does anyone know if there are any methods available in the system for > > getting at a nodes highest level parent all the time? If I have a > > section called about us with 5 nodes of drilling down I still want to > > be able to know the top level ID. Make sense? > > > You could use the getAncestors tree method > (farcry_core.packages.tree.getAncestors). This will return all nodes > from the root to the current node. You can pick up the parent you need > from this query result using nLevel. eg root is level 1, home is level 2 etc > > -Brendan > http://farcry.daemon.com.au > > > > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
