I don't believe there is a way to do this natively, but you can do it
fairly easily in an extending component using the following query:

SELECT d.*
FROM #application.dbowner#dmHTML d INNER JOIN
#application.dbowner#dmNavigation_aObjectIDs dna ON d.objectid =
dna.data
WHERE dna.objectid = '#arguments.navid#'
AND d.status = 'approved'
ORDER BY dna.seq

Assuming you pass the id of the navigation node as an argument called
navid to your custom method.

You might also want to use a list of status values rather than just 'approved'

HTH

Spike

p.s. I didn't actually test the query above, so there might be syntax
errors, but the logic should be right.

On Mon, 14 Feb 2005 16:24:40 -0500, Jaci Chesnes <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Is there a way to use the built in tree functions to output all of the pages
> under a certain node to create a secondary menu or index.  I didn't see
> anything like this but in the out of the box functions.  If not is there a
> way to easily modify or extend on of the functions to do this.  I want the
> menu to list every html page under a given nav node. 
> 
>   
> 
> Jaci ---
>  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/ 


-- 
--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org

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