Thursday, 18 September 2008

Multiple levels of SharePoint menu

By default only the main sites and sub sites are displayed in the top harepoint menu, if you want further level of sites to appear on the top navigation you just need to modify the SharePoint menu option in the master page.

Before doing this open the default master page in sharepoint designer and take a copy of it and play with the copy just in case if you mess it up can you always revoke back.
Edit the master page in Sharepoint designer and find the tag and change the contents of it to look something like below, the key value is the MaximumDynamicDisplayLevels changing it to 1 or more will give you additional sub menus



StaticEnableDefaultPopOutImage="false" Runat="server"




MaximumDynamicDisplayLevels="2" //this sets the number of levels

StaticSubMenuIndent="0" //you can indent the sub menu as you wish




Save the modified master page and that's it!

If you have taken a copy and have changed the copy then you need to go to Site Settings - Master Page option in your sharepoint site and from the drop down choose the new master page.

keywords: dynamic menu sharepoint, multi level menu, advanced menu, top navigation sharepoint

No comments: