Multiple Menus

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
4/27/2011 10:52:18 AM
Gravatar
Total Posts 1

Multiple Menus

Could somebody answer for me whether it is possible to have multiple menus (i.e. seperate menu trees)? I'm trying to add both a horizontal menu at the top of my site and a sidebar menu, both of which should be visible on all pages. I've tried looking through the documentation, but from what I can find it's only possible to have one menu-tree. The code I'm currently using in my layout.Master file is:


    <form id="frmMain" runat="server">
    <asp:SiteMapDataSource ID="SiteMapData" runat="server" ShowStartingNode="false" />
    <asp:SiteMapDataSource ID="PageMapDataSource" runat="server" ShowStartingNode="false" />
    <asp:SiteMapDataSource ID="ChildPageSiteMapData" runat="server" ShowStartingNode="false" />

<div id="topmenu">
     <asp:Panel id="divTopMenu" runat="server" visible="True" SkinID="pnlPlain">
     <portal:SiteMenu ID="SiteMenu1" runat="server" UseTreeView="false" HideMenuOnSiteMap="false" Direction="Horizontal" ></portal:SiteMenu>
            <asp:ContentPlaceHolder ID="topContent" runat="server"></asp:ContentPlaceHolder>
        </asp:Panel>
</div>

 

<div id="leftmenu">
     <asp:Panel id="divLeft" runat="server" cssclass="leftside" visible="True" SkinID="pnlPlain">
     <portal:PageMenu id="PageMenu1" runat="server" UseTreeView="true" Direction="Vertical" DynamicDisplayLevels="0" StartingNodeOffset="0" TreeViewShowExpandCollapse="false" TreeViewExpandDepth="2" />
            <asp:ContentPlaceHolder ID="leftContent" runat="server"></asp:ContentPlaceHolder>
        </asp:Panel>
</div>

 

Any feedback would be greatly appreciated. Please let me know if I can provide further details

 

4/28/2011 7:03:19 AM
Gravatar
Total Posts 18439

Re: Multiple Menus

A site only has one hierarchy of pages, the complete hierarchy is shown in the Site Map, however there are a variety of ways that multiple menus can be configured to break up the display of menus. 

See Menu Structure and Properties, and the discussion on this thread may also be relevant.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.