Register
Login
 

Support House of Nuke

  

 House of Nuke Forums  
Subject: Change Settings at Runtime
Prev Next
You are not authorized to post a reply.

Author Messages
Graham BarlowUser is Offline
Novice
Novice
Posts:1

03/16/2008 4:51 PM Alert 

Hi

I have a site that has 3 levels of navigation

Level 1 - top level tabs switch between main sections of the site done in flash.

Level 2 - left size nav, sub pages to the main sections done using HouseMenu module.  I have set the HouseMenu module settings to use the Selected Page Children of the Level 1 selected page.

Level 3 - introduction, info, contact us nav available from all pages of the site. I have created a hidden Level 1 Page called Links with pages defined under it for the sub pages visible in the Level 3 nav and then set the HouseMenu module settings to use the Selected Page Children of the Links page.

The problem I have is if I say select a Level 1 nav of "Event Spaces", i see 2 Level 2 nav sub pages available in the Level 2 nav HouseMenu module and all the Level 3 nav in the second HouseMenu module.  If I then click on the contact us link the user loses the ability to select from the Level 2 nav options.  What I need to be able to do is store the Level 1 selection in a session variable and then set the Level 2 nav Selected Page Children programmaticaly when the user clicks the Top Level nav.  Is it possible to change the settings at runtime and if so where would i need to do this?

If you would like to se the problem then please go to 
http://www.graphics-ftp.co.uk/daliqa/

Thanks in advance

Graham

Tim RolandsUser is Offline
Your Host
Professional
Professional
Posts:97


03/19/2008 3:33 PM Alert 

Graham,

This is an interesting request, but I'm not sure how to accomplish it. I'll have to give it some thought.

I can see adding the ability to tie one menu to another, so that a given menu will look for the selected page in the specified menu. Hmmm....

Tim


avastonetechnologies.com
writergear.com
timrolands.com
matthew thompsonUser is Offline
Novice
Novice
Posts:12

03/24/2008 8:58 AM Alert 

Not sure if you can work this out with your navigation, but a trick you can use to create "fake static / dynamic menus" is to create several different skins for each navigation piece.

For example I have a site with one horizontal menu top main category. I also have a second menu on the left vertical which is 2nd teir. I then have a 3rd navigation menu above my main content pane which acts like a feature's button basically just a horizontal bar which acts like a fancy bread crumb of flash images etc.

My main menu top(H) is -1 scope with recursive=false gives me just my root items. When a user clicks on Link1 it sends them to Link1 page which has a skin of link1 set for it, in this skin I set the scope of my left(V) menu to equal the tab id of Link1 this means my left(V) only shows root or full children (based on recursive setting) for Pages of Link1 if you click on a child of page link1 it has the link1 skin which has the forced scope.

Now if the user clicks on Link2 top(H) menu it sends him to Link2 page and the skin is Link2 for all the children this sets the left(V) scope to the tab id for Link2 nav.

Now for the "3rd" menu similar deal you can use the tabid from the 2nd menu to control the skin which can control the appearance of all parent menus above.

Now this starts to get messy and really un managible beyond 2 layers as your creating a skin for each teir of your navigation. For me it works wonders though I have 6 main categories, and then just one child level under most with just a few exceptions. The bonus to this is I can control how ever previously selected menu appears without having to need any connection between them.

The downside to this though is that is specific to the installation. You can't port the skin across different installations without going back into your xml / ascx files and updating the scope attributes to reflect the new tab ids.

Now if we could tie all the different levels together and select / grab the ones we want and keep a trail through the different ones that would be totally awesome. As it stands that is the one key thing HouseMenu lacks vs snapis's menu with their menu system you have more access to the different teirs in the navigation and better control over what to display and when / how. Overall though I perfer HouseMenu cause its much create off the wall solutions with. Oh and its free and doesn't force me to charge 50 bucks for my skins cause I used it.

 

You are not authorized to post a reply.
Forums > House Modules > HouseMenu 1.x > Change Settings at Runtime



ActiveForums 3.6
  

Terms Of Use  |  Privacy Statement
Copyright © 2006-2008 by Avastone Technologies. All rights reserved.