in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

OBA, SharePoint and Aghy [MVP]

Setting the Global Navigation

By default the SharePoint menu is two level deep: it contains a major and a minor level, look like this:

 

By the way: we can expand it! You need to open the master page, and edit the TopNavigationMenu property. The StaticDisplayLevels defines the number of the major levels, and the MaximumDynamicDisplayLevels defines the number of the deeper menu levels.

The default value of the StaticDisplayLevels is "2", because the first level is the Home page, and the second one is its first subsites. The MaximumDynamicDisplayLevels has default value "1" - this defines to display only one deeper menu level.

The following code example defines a menu with 3 deep levels:

      StaticDisplayLevels="2"
      MaximumDynamicDisplayLevels="3"

 

Comments

 

Michael Gannotti said:

This is a great post! Thanks for documenting and sharing it.

November 15, 2007 8:26 AM
 

Elin Kolloen said:

Thank you for the tip!

I've seen this property also for the QuickLaunch bar, but I haven't been able to populate them with more than the default levels. Does anyone know how if this is possible also using the QuickLaunch?

November 15, 2007 2:19 PM
 

Agnes Molnar said:

Elin: Yes, the Quick Launch is a little different thing, it's not too beauty to make it more level deep. One tweak: you can make the global navigation also vertical... :-)

November 17, 2007 7:08 AM
 

Agnes Molnar said:

Michael: Thanks for your link at your blog. One litte correction: I'm a woman ;-)

November 17, 2007 7:27 AM
 

SharePoint, SharePoint and stuff said:

Tipps Setting the Global Navigation Use Conditional Formatting in Data Views based on User Security Permissions

November 21, 2007 2:22 AM
 

Hector Insua said:

Excelent Post, Thanks!

November 30, 2007 10:37 AM
 

Khairul Rezza said:

Thanks for post Agnes,

but would you mind to explain how to add the level 2 & level 3 items since I'm still confused how to add it since there is no level 2 & 3 on navigation control panel ( myserver.com/_layouts/AreaNavigationSettings.aspx )

Thanks a lot..

greeting from Jakarta

December 5, 2007 4:59 AM
 

Marat Gubaidulin said:

Thats very good,

but I have another problem building menu: how can I change datasource  to sitemap file? I.e. I have correct web.sitemap file in the root of the site and I want to build menu based on its content.

Could you write me a sample code, please.

January 29, 2008 7:09 AM
 

jeremy said:

How do you configure this once you change the master page.  I usually use the navigation control panel and move links and sites to the appropreate nesting but there is still only one nest level

February 1, 2008 3:52 PM
 

OBA, SharePoint and Aghy [MVP] said:

By default the SharePoint menu is two level deep: it contains a major and a minor level, look like this

April 28, 2008 9:42 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts