Page view counter

Solpart Menu: Displaying sub nav as the root nav.

Rate It (2)

Last post 05-19-2005 11:17 PM by awhite. 10 replies.

Sort Posts:

  • Solpart Menu: Displaying sub nav as the root nav.

    02-20-2005, 7:08 PM
    • Loading...
    • entaro_awhite
    • Joined on 05-25-2004, 11:41 PM
    • Posts 8
    • Points 40
    Firstly this is an example of the nav structure of the site I'm building:

    Property
    Restaurant (Root Level)
    ->Home
    ->Functions
    ->Reservations
    ->Menus
    ->Team (sub level 1)
    -->Josh Hunt (sub level 2)
    -->Paula Hunt
    ->Recruitment
    ->What's New

    The site I'm trying to make this happen on is http://hunt.entaro.com.au. If you click on Restaurants (root level nav), it takes you to the restaurants section. I've got it working so if you click on one of the menu options (i.e. team), it displays only the 1st sub level menu options from the root tab.

    What I want to do is have the menu so when you click on Team | Josh Hunt, the menu displays the 1st sub level menu options (home, functions, reservations, menus, team, recruitment, what's new) and not the menu options that are on the same level as Josh Hunt (Josh Hunt, Paula Hunt)

    Does anyone know how to acheive this? The only options I can see that you can set to dictate what menu level is displayed on the solpart menu is root, same or child. What would be great is if you could select what level to display.

    Thanks for your help,
    Adam
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    02-21-2005, 1:44 PM
    • Loading...
    • nbc
    • Joined on 06-29-2002, 12:06 AM
    • Perth, Western Australia
    • Posts 1,469
    • Points 7,345
    What are the settings you are using to get this effect in Solpart? If you just left it standard for instance you could click on a sub menu item and the page would display with the root level menu items still in place. Or is it because you want another menu level above that ie the property - consulting etc one?

    Regards
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    02-21-2005, 7:52 PM
    Locked
    • Loading...
    • entaro_awhite
    • Joined on 05-25-2004, 11:41 PM
    • Posts 8
    • Points 40
    Hi nick,

    yes that's correct, I want to have a menu level above it which is Property, Restaunt, Consulting and Fashion.

    I've found in the code where I can add properties for the solpartmenu LEVEL option. (admin\Skins\SolPartMenu.vb - line 204).

    I've added a select case option called "parent". At the moment I've hard coded the intRootParent tabid to equal 27 (which is the tabid for Restaurant). This enables me to change the level value of the solpartmenu skin object to "parent" and then the menu level below Property will always be displayed no mater what tab you're on underneath the Parent menu.

    What I would like to know now is if there is a way to retrieve the root level tabid from any tab you're on beneath that root tab.

    i.e. Looking at the menu structure below, if I was on the Josh Hunt tab I would like the tabid to be retrieved for the Restaurant tab. There's code that let's you get the tabid for the parent tab of the current tab you're on (_portalSettings.ActiveTab.ParentId). But I would like to retrieve the Root tabid. It would be nice if there was a _portalSettings.ActiveTab.RootId option to get the Root TabID for any sub tab you're on no matter how deep you are in the menu.

    example menu:

    Property
    Restaurant (I would like to retrieve this TabID when on the Josh Hunt or Paula Hunt tabs.)
    ->Home
    ->Functions
    ->Reservations
    ->Menus
    ->Team (I can retrieve this tabid when on the josh hunt tab with _portalSettings.ActiveTab.ParentId)
    -->Josh Hunt (I want to be able to retrieve the TabID for Restaurant when on this tab.)
    -->Paula Hunt
    ->Recruitment
    ->What's New

    Hope this makes sense. Does anyone know how to achieve this? If I find a way I'll post it up here in case anyone else is interested in this solution.

    Thanks,
    Adam
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    02-22-2005, 4:22 AM
    • Loading...
    • nbc
    • Joined on 06-29-2002, 12:06 AM
    • Perth, Western Australia
    • Posts 1,469
    • Points 7,345
    I think this can be done - I'll have a go at it later tonight.

    Regards
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    02-22-2005, 5:49 AM
    • Loading...
    • entaro_awhite
    • Joined on 05-25-2004, 11:41 PM
    • Posts 8
    • Points 40
    Thanks Nick. I really appreciate your help.

    Adam
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    03-08-2005, 2:05 AM
    • Loading...
    • masom
    • Joined on 10-10-2002, 3:29 AM
    • Essen, Germany
    • Posts 81
    • Points 375
    Hi,

    I' m also very interested in this option. Did someone solve this?

    Marcus
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    03-13-2005, 8:09 AM
    • Loading...
    • wallew
    • Joined on 04-24-2003, 2:52 PM
    • Baton Rouge, LA
    • Posts 251
    • Points 1,255
    Me too. Is it possible? Maybe post this on Solparts site to get more feedback.

    Wallew

  • Re: Solpart Menu: Displaying sub nav as the root nav.

    03-13-2005, 9:30 AM
    • Loading...
    • hooligannes97
    • Joined on 09-26-2003, 2:57 PM
    • Bolivia
    • Posts 2,917
    • Points 16,483
    • Moderator
    I am not sure you can do this without modifying code. Alternatively you could use the Breadcrumb Skin Object and play with its RootLevel property.
    Do you know the truth when you hear it?
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    05-19-2005, 10:51 PM
    • Loading...
    • awhite
    • Joined on 01-12-2004, 3:05 PM
    • Posts 3
    • Points 15

    I've actually solved this problem.  See www.athunt.com.au and click the restaraunt link.  I had to add new options to solpartmenu code to add new variables for the dnn:SOLPARTMENU level option.  It involves hardcoding the parent tabid.  if anyone still wants the code let me know and i can post it.

     

    adam

  • Re: Solpart Menu: Displaying sub nav as the root nav.

    05-19-2005, 11:10 PM
    • Loading...
    • J7Mitch
    • Joined on 10-19-2002, 1:23 PM
    • Posts 2,632
    • Points 13,145
    • TrustedFriends-MVPs
    Nice looking site.
    John M.

    DotNetNuke Module for Performance
  • Re: Solpart Menu: Displaying sub nav as the root nav.

    05-19-2005, 11:17 PM
    • Loading...
    • awhite
    • Joined on 01-12-2004, 3:05 PM
    • Posts 3
    • Points 15

    thanks john.

    the site isn't fully completed with all the sections integrated yet but it should be finished in a week or so.

    adam

Page 1 of 1 (11 items)