Title: Message
Also, under the "Admin" tab in the administration you can use the "Scope Dump" utility.
 
~Tom
-----Original Message-----
From: Tim Lucas [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 6:33 AM
To: FarCry Developers
Subject: [farcry-dev] RE: Secondary Navigation

What you should do is look at the functions with the CFAdmin component browser, and do a dump on your application scope to see how you'd call them from your pages.

To do a dump in your farcry app I just did the following:
Create a custom include called "_dump.cfm" that just does a <cfdump var="#request#" /> and <cfdump var="#application#" />
Create a nav node under utilities, and under that create a new Include and select your custom dump.
Note down the objectid for that new dump Include object.

Whenever you wanna see the app variables just browse to:
http://yoursite.com/index.cfm?objectid=OBJECTIDOFDUMPINCLUDE

Otherwise, the best place is just to look at the Daemon code... all the juicy stuff is in there waiting for you (especially in the tags directory!)

- tim

Mike Connolly spoke the following wise words on 24/10/2003 6:25 PM EST:
Thanks again Gary.... great help!
 
On an aside to this you mentioned in your reply the routines of getDescendants and getChildren off the tree object.
 
Can anyone recommend a good source of information which outlines the following:
 
* Farcry core variables with descriptions
* Farcry core rountines with descriptions
* Farcry application variables with descriptions
* Farcry application routines with descriptions
 
I appreciate that the Admin tab shows the option to dump the structures, but they don't appear to have descriptions of the variables / routines.
 
Regards
 
Mike
-----Original Message-----
From: Gary Menzel [mailto:[EMAIL PROTECTED]]
Sent: 24 October 2003 08:57
To: FarCry Developers
Subject: [farcry-dev] RE: Secondary Navigation

Hello Mike,
 
You will note in the secondaryNav.cfm that there is a parameter called r_navQuery.
 
If you dont want the default display, you just provide a value for this so the query can be returned back to your code so that you can generate your own display.
 
There also appear to be two other parameters required if you do this - r_CurrentLevel and r_Leaf.  You can see these in the code at the bottom of the secondaryNav.cfm.
 
Alternatively, you can use routines off the tree object like getDescendants and getChildren to roll your own routines.
 
Regards,
Gary Menzel
---
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