I have a need to determine the friendly url of the nav node containing a particular page.
The following code snippet works nicely --- so long as the page in question is NOT in draft mode.
fu = createObject("component","#application.packagepath#.farcry.fu")
application.types.dmNavigation.typePath)
parentFU = fu.getFU(oNav.getParent(objectid=request.stobj.objectID).objectID)
I presume the problem I am encountering is caused by the getParent method failing when the object is in draft mode. I don't yet understand the intricacies of the navigation structures in FarCry and how they are effected by approval processes. Can anybody shed light on how to obtain the FU if the page is in draft?
Many thanks,
Peter Jones.
Faculty of Law PH: (03) 8344 6203
University of Melbourne or 0419 337 274 (AH)
Parkville VIC 3010 Fax: (03) 9347 2392
EMail: [EMAIL PROTECTED] Web: http://www.law.unimelb.edu.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/
