Title: Message
Oops.  I meant not the child links rule, but I could put the code in the teaser?

--
Regards,
Michael
 
 
"Tom Cornilliac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
Michael,
 
In the display method for the parent node you can do something like this:
 
<cfscript>
 // get child navigation elements
 o = createObject("component", "#application.packagepath#.farcry.tree");
 navFilter=arrayNew(1);
 navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)";
 qGetDescendants = o.getDescendants(objectid=request.navid, depth=1, afilter=navFilter, lColumns='externalLink', dsn=application.dsn);
</cfscript>
Notice the "lColumns" arg in the getDescendants method. You can then evaluate the length of qGetDescendants.externalLink in your display code.
 
Full credit to Brendan for sharing this code with me when I had this exact question at one time.
 
Make sense?
 
~Tom
-----Original Message-----
From: Michael @Four Eyes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 2:36 PM
To: FarCry Developers
Subject: [farcry-dev] Symbolic Link Redirect.

In my site tree I have a few navigation nodes that use symbolic links from some utility items.  When click on the nav I get standard "This is the default output of types.Display():...." .  I know this typically shows when you link to a nav node with no content underneath it.  I do not have content in the nav node because the symbolic links are linking to link content.  Where do I go in the code to reference if there is an external link to not look for a page in the nav rather do directly to the external link?
 
Boy, I hope that made sense?!

--
Regards,
Michael
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to