2 different menus required

Last post 04-17-2005 12:21 PM by Dnnwhat. 7 replies.

Sort Posts:

  • 2 different menus required

    04-15-2005, 2:32 PM
    • Member
      190 point Member
    • rgnyla
    • Member since 03-02-2005, 2:31 PM
    • Posts 47

    I have 1 site that requires 2 different menus [dnn:menu1] and [dnn:menu2] depending on which link the user clicks, how can i do this?

    Regards

    Richard

  • Re: 2 different menus required

    04-15-2005, 4:11 PM
    • Star
      8,010 point Star
    • cjsmitty
    • Member since 06-29-2002, 3:35 PM
    • Rockford, IL
    • Posts 1,600
    There are few differentr approaches to this. You could use anothermodule to achieve this, Inventua SideMenu comes to mind. this will give you a flexible CSS second menu.

    Or you can go down the path you mentioned, using two solpart menus. Here is a snippet from one I set-up awhile ago. This was a primary with root tabs only (horizonal) and the second was a child tab only (vertical). Hope this helps.
    XML:
    <code>
    <Object>
            <Token>[SOLPARTMENU:1]</Token>
            <Setting>
                <Name>rootonly</Name>
                <Value>true</Value>
            </Setting>
        </Object>
        <Object>
            <Token>[SOLPARTMENU:2]</Token>
            <Settings>
                <Setting>
                <Name>Alignment</Name>
                <Value>Vertical</Value>
               </Setting>
               <Setting>
                <Name>level</Name>
                 <Value>Child</Value>
                 </Setting>
            </Settings>
        </Object>
        <Object>
    </code>
    Then these are just called in the skin html file for parsing like so:
    <code>
    <td align="left" claSS="TopMenu" colspan="2" width="599" nowrap>[SOLPARTMENU:1]</td>
    <td class="VertMenu" valign="bottom" align="center">[SOLPARTMENU:2]</td>
    </code>
    ~Chris

    Net Data Design
    706Horsman.us
  • Re: 2 different menus required

    04-15-2005, 7:20 PM
    • Member
      190 point Member
    • rgnyla
    • Member since 03-02-2005, 2:31 PM
    • Posts 47

    yeh i probably didnt explain myself properly, what i need is 1 menu on certain pages, and another menu on other pages so

    page 1,2,3,4,5 use menu 1

    page 6,7,8, 9 use menu 2

    I am doing an exhibition site and on the home page you either select you are visiting the site as an Exhibitor or a Visitor, both need different menus

     

    Regards

    Richard

  • Re: 2 different menus required

    04-15-2005, 7:43 PM
    • Member
      425 point Member
    • LOliver
    • Member since 11-30-2003, 11:27 PM
    • Fruitland, Utah
    • Posts 85

    Couldn't you accomplish what you want bye creating 3 portals one for the main home page, a 2nd for the Exhibitors and the last for the Visitor.  When they select the appropriate type you direct them to the right portal eaching having there own menu scheme.  You can use the same home page by directing the child portals home menu back to the parent portal home page.  If I understood what you were wanting to do I think this will solve your problem.

    Have a great day!

    Have A Great Day!
    Larry
  • Re: 2 different menus required

    04-15-2005, 8:29 PM
    • Star
      9,191 point Star
    • bhopkins
    • Member since 06-24-2002, 9:31 PM
    • Atlanta GA
    • Posts 1,843
    • TrustedFriends-MVPs

    If I understand the requirement correctly you don't need multiple portals, just require login and assign the various menu items to which ever role the user is a member of.

     

    hth Bruce

  • Re: 2 different menus required

    04-16-2005, 3:24 AM
    • Member
      190 point Member
    • rgnyla
    • Member since 03-02-2005, 2:31 PM
    • Posts 47

    Yeh, the child portals will be the simplest idea i think as logging in to use a website is not ideal.

    Thanks for the input.

    Richard

  • Re: 2 different menus required

    04-17-2005, 6:50 AM
    • Contributor
      2,315 point Contributor
    • slope
    • Member since 07-09-2003, 6:13 PM
    • Posts 463
     rgnyla wrote:

    Yeh, the child portals will be the simplest idea i think as logging in to use a website is not ideal.

    If one of your users must be logged in ie Exhibitor, then they get one menu, the rest get another. Then all the visitors can browse the site without logging in, and the Exhibitor logs in when needing something spesific other then browsing. For all I  know maybe you have some dynamic content for the Exhibitor, so maybe they need to be logged in. If they will not need to be logged in maybe better off with 2 (or 3) portals. You could set parent to hold all tabs for ie visitors, and then when people click the Exhibitor tab they get redirected to child portal.

    -Follow your dreams!
  • Re: 2 different menus required

    04-17-2005, 12:21 PM
    • Member
      375 point Member
    • Dnnwhat
    • Member since 03-06-2005, 5:47 PM
    • Posts 75

    I currently went through the same thing , requiring more than one menu, and then had the "Slide Menu" developed by a great developer...

    If you want to have a preview of the menu you may view my site that is still being developed at www.thetravelgal.com    ...please note I also had the skinning on the menu customed designed for my site but...

    The slide menu offers you 22 options....

    It can also be viewed at snowcovered at : http://www.snowcovered.com/snowcovered2/Default.aspx?tabid=164&CatalogItemID=1537

    Hope this helps ...

    DnnwhatSmile [:)]

     

Page 1 of 1 (8 items)