Thank you very much Jake. I truly appreciate it. I have been having fun
working with FarCry so far. Can't wait till Monday to try this out.
Showed some things that I did to my boss and he is stoked. If I were in
Omaha I would buy you a beer.

Bruce

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jake Churchill
Sent: Friday, November 30, 2007 7:45 PM
To: [email protected]
Subject: [farcry-dev] Re: Getting rid of the top navigation

OK, this is FC3 stuff (that's all I have right now).  This should still
help, assuming you can customize genericNav or create an all new one.  If
nothing else, just drop the attached file into your includes folder and call
it directly.  Hope this helps:

Here's the call to Generic Nav (the modified one)

<cfmodule
template="/farcry/#application.applicationname#/webskin/includes/_genericNav
.cfm"
                        navID="#application.navid.home#"
                        id="nav"
                        depth="1"
                        bActive="true"
                        bIncludeHome="false">

You will need to change the template path to match wherever you put this in
FC4 or if you can modify the main generic nav you'll have to just use that
call.

Attached is the file.  It's a very simple modification.  Line 63 I create a
qSubNav query similar to how the qNav query is created except it's based on
the current nav ID, not the one that's passed in.  Every node has an nLevel
and an nLeft and nRight that you can use to determine children and parents.
There are also a bunch of functions in the application.factory.oTree (in FC3
there were).  

Line 185 is the output of the sub nav.

I hope this helps.  If you have any specific questions about it, let me
know.

_____ 

Jake Churchill 
Team Leader
11204 Davenport, Ste. 100
Omaha, NE  68154 
http://www.cfwebtools.com 
402-408-3733 x103 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to