Hi Mike, Is your site structured as:
1. About (dmNavigation) - What is Rehabilitation Medicine? (dmHTML) - History of the Faculty (dmHTML) - Aims of the Faculty (dmHTML) - Organisational Structure (dmHTML) - Office Bearers (dmHTML) - Faculty Staff (dmHTML) - Contact Us (dmHTML) ... or ... 2. About (dmNavigation) - What is Rehabilitation Medicine? (dmNavigation) - What is Rehabilitation Medicine? (dmHTML) - History of the Faculty (dmNavigation) - History of the Faculty (dmHTML) - Aims of the Faculty (dmNavigation) - Aims of the Faculty (dmHTML) - Organisational Structure (dmNavigation) - Organisational Structure (dmHTML) - Office Bearers (dmNavigation) - Office Bearers (dmHTML) - Faculty Staff (dmNavigation) - Faculty Staff (dmHTML) - Contact Us (dmNavigation) - Contact Us (dmHTML) bjMenu works with option 2: it uses the dmNav objects not the html ones to create the nav structure. Cheers David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Porter Sent: Thursday, 21 July 2005 10:21 AM To: FarCry Developers Subject: [farcry-dev] Re: BrainJar menu (was: Navigation menu -- childlinks) >When you are creating the qNav2 variable, what does that code look like? Looks like this: <!--- Get children if any ---> <cfscript> navFilter=arrayNew(1); navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)"; qNav2 = application.factory.oTree.getDescendants(objectid=qNav.objectID, depth=1, afilter=navFilter); </cfscript> - qnav2 doesn't return a recordcount even if I change the depth to 99 - the pages underneath the parent are all approved - when I use the multiPageNav.cfm page it returns the pages underneath that parent objectid. that particular code is what is being used to create that side menu you see. Regards, Mike >>> [EMAIL PROTECTED] 07/20/05 03:02pm >>> Michael Porter wrote: > The qnav2 query is emty. When you are creating the qNav2 variable, what does that code look like? Here's an example of what it should look like (if I recall, its been a year since I've used brainJar :)): <cfloop query="qNav"> <cfscript> qNav2 = application.factory.oTree.getDescendants(objectID=qNav.objectID, depth="1"); </cfscript> <cfdump var="#qNav2#" /> </cfloop> Also (silly question, I know)... are there children navigation nodes under the first set of nav nodes returned in qNav? (meaning: Does qNav have grandchildren?). If so, what does <cfdump var="#qNav#" /> return if you set the depth to say "99"? -Jeff C. --- 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/ --- 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/
