Robert Redpath wrote:

So how did you get the TMM menu to interact with the Farcry site tree? How did you query the Farcry site tree?
The basic starting point is the query from the Farcry site tree. The following will get the approved menu structure.

<cfset navFilter=arrayNew(1)>
<cfset navFilter[1]="status = 'approved'">
<cfset qNav = application.factory.oTree.getDescendants(objectID=#application.navid.home#, depth=9, afilter=navFilter)>


Then loop through the query and create the html required to drive the menu - each menu will have different requirements. TMM uses nested <div>s others use nested <ul><li>s to control the menu hierarchy.

hth,
Chris.

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

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to