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: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Blair McKenzie > Sent: Tuesday, October 02, 2007 2:26 AM > To: [email protected] > 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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
