Here's an example of a main nav (FC 3): <cfmodule template="/farcry/#application.applicationname#/webskin/includes/_genericNav .cfm" navID="#application.navid.home#" id="nav" depth="2" bActive="true" bIncludeHome="true" bDump="0">
Notice the navID parameter. This is where it starts building the nav. So, if you want to start building the nav 1 level down from the current node, you would do this: <cfmodule template="/farcry/#application.applicationname#/webskin/includes/_genericNav .cfm" navID="#request.navid #" id="subnav" depth="1" bActive="true" bIncludeHome="false" bDump="0"> Hope that helps. Play around, it's the best way to figure this kind of thing out. :) _____ Jake Churchill Team Leader 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -----Original Message----- From: farcry-dev@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gerald-svsn Sent: Monday, February 18, 2008 7:33 AM To: farcry-dev@googlegroups.com Subject: [farcry-dev] Re: Navigation Issues Hey Jake, I have the same issue could you post some code for assistance. Thank you. Jake Churchill-2 wrote: > > Modify genericNav.cfm. qNav is your query of all the nav nodes. Pass > genericNav request.navid for the objected. Then keep doing a test on > qNav.nlevel. Home should be nLevel 1 and all of your top level items > should > be nLevel 2. Keep testing qNav.nLevel[1] eq 2. If not, use > application.factory.oTree.getParent (you'll have to look for this function > name). You pass this function the current object id and it'll give you > the > parent object id. Re-run the function that sets qNav and test again. > Each > time you do this you'll back up a level in the nav tree. > > > > I'm not at work right now so I can't give you a good example of this but > if > this doesn't make sense, let me know and I'll post some code. > > > > _____ > > From: farcry-dev@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Blair McKenzie > Sent: Tuesday, October 02, 2007 2:26 AM > To: farcry-dev@googlegroups.com > Subject: [farcry-dev] Re: Navigation Issues > > > > You should be able to use genericnav again - except that instead of > specifying home as the root you would use the 'section' objectid (meaning > location in this case). Add a depth=2 attribute. > > A lot of people don't realize - genericnav really is generic enough for > almost any menu you need. > > Blair > > On 10/2/07, ahodge <[EMAIL PROTECTED]> wrote: > > > I have a site structure similar to the following: > > - About Us > - History > - Staff > - Management > - Sales > - Products > - Commercial > - Domestic > - Locations > - Victoria > -Melbourne & Suburbs > - Vic Country > - New South Wales > - Sydney & Suburbs > - NSW Country > - Queensland > - Brisbane & Suburbs > - QLD Country > > I have the first level headings (About Us, Products, Locations) in a > horizontal one-level drop down menumenu across the page - no problems > there. > However once you go to a page I want a right hand sub menu with just > the items for that area. > > For example, if I click on 'Sydney & Suburbs' the navigation list I > get back should be: > - Victoria > -Melbourne & Suburbs > - Vic Country > - New South Wales > - Sydney & Suburbs (marked as active) > - NSW Country > - Queensland > - Brisbane & Suburbs > - QLD Country > > The closest I can get to this using getBloodline is: > - Victoria > - New South Wales > - Sydney & Suburbs (marked as active) > - NSW Country > - Queensland > > Basically, the children of the parent's siblings are missing. > > I also want to be able to get the name of the initial parent of the > section I'm in (in this case 'Locations'). > > Does anyone know a way to do this? > > TIA > > <br > > > > > > -- View this message in context: http://www.nabble.com/Navigation-Issues-tp12993252s621p15545434.html Sent from the FarCry - Dev mailing list archive at Nabble.com. No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.7/1284 - Release Date: 2/17/2008 2:39 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.7/1284 - Release Date: 2/17/2008 2:39 PM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---