This returns a query that has nav aliases for one level below home.

 

You could pass request.objectID to get your current page. You will have to check to see if the currect object is in the query – not sure if this has a include self option…

 

<cfscript>

      // get navigation elements to root

      navFilter=arrayNew(1);

      navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)";

      // ' !reset colour marking in DW

      qNav = application.factory.oTree.getDescendants(objectid=application.navid.home, depth=1, afilter=navFilter, lColumns='lNavIDAlias');

</cfscript>

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin Cooney
Sent: Tuesday, 8 June 2004 10:40 AM
To: FarCry Developers
Subject: [farcry-dev] how do i find the navalias?

 

HI all,

 

On a dmInclude how do i find the nav alias of the current nav node?

 

I would have thought it would be in request.stobj but it's not there!

 

Thanks

 

Gav

 

 

 

---
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/

Reply via email to