SharePoint 2007 navigation dissected – part 1

One of the areas SharePoint 2003 was suboptimal was site navigation. SPS 2003 has some quite restrictive navigation functionality to navigate through the portal areas. When you end up in a team site you only have your quick links bar at the left side to navigate to lists and libraries within your site, but there is no way to navigate to your sub sites.

As always the next version will solve all our problems… so let’s have a look at the new and improved, but still beta 2, SharePoint 2007 standard navigation options. I’m working with an out-of-the-box SharePoint installation that includes the portal.

First thing I did was creating a set of sites and sub sites under the site Sites of type Site Directory with the following structure:

site1
                site1sub1
                                site1sub1subA
                                site1sub1subB
                site1sub2
                                site1sub2subA
                                site1sub2subB
site2
                site2sub1
                                site2sub1subA
                                site2sub1subB
                site2sub2
                                site2sub2subA
                                site2sub2subB

 

This results in the following homepage navigation:

As you can see, two levels of navigation are displayed.

Navigation Inheritance

When a site is created you are prompted with the following option:

The default setting for this option is Yes. I created site1 and site2 using the Yes setting, and a site3 using the No setting. The results are as follows:

For site2 (use the top link bar from the parent site):

For site3 (don’t use the top link bar from the parent site):

I can see no difference between the two options, both shows their complete path in the breadcrumb bar:

Home > Sites > site2 > Pages > Home

Home > Sites > site3 > Pages > Home

For site3 I actually expected to see:

Site3 > Pages > Home

Another strange thing is that I didn’t find an option in the UI with the same phrasing to modify this setting after initial creation of the site. This option can be set in a working way however, keep on reading!

Site navigation

If you navigate to Sites you get the following navigation:

So all sub sites are displayed, with one level of the sub-sub sites.

If you navigate from here to site2 you get the following navigation:

This is a different navigation. The current site (site2) is displayed with one level of children (site2sub1, site2sub2), and sites at the same level (site1, site2).

The question now is: what configures the navigation? If you go to Site Actions >Site Settings >Modify Navigation you get to the Site Navigation Settings.

The Site Navigation Settings screen looks as follows:

This screen asks for some experiments!

Site Navigation Settings

The Site Navigation Settings screen gives us some configuration options on how navigation works on a site. Lets start with the following options:

Global Navigation: Use global navigation of the parent site or of this site.

Current Navigation: Use navigation items of the parent site or of this site. If this site is selected, you can enable to show siblings of this site in the current navigation.

For the site site1sub1 we go through the different possibilities.

Global navigation: global navigation of parent

We see three elements on the above screenshot:

1.       At the top the path of the root site who’s navigation is used is displayed (empty, the root site)

2.       The complete parent navigation bar is displayed

3.       The complete path to the parent sites is displayed

Global navigation: global navigation of this site

We see three elements on the above screenshot:

1.       At the top the path of the root site who’s navigation is used is displayed: site1sub1

2.       The navigation bar of the current site + it’s sub sites is displayed

3.       The complete breadcrumb path to the parent sites is displayed

I created two additional sub sites under site1sub1subA: site1sub1subAsubX and site1sub1subAsubY. Note that these sites become available in a drop down box in the global navigation bar (2):

 

But what happens if we have set global navigation of the parent site on a site, but a site somewhere up the path has set its global navigation to this site.

In the above example site site1sub1  has set its global navigation to this site, while site1sub1subA and site1sub1subAsubX have set their global navigation of the parent site. If we now go to the site site1sub1subAsubX we see the following navigation:

The result is that a site goes up to the hierarchy to the first parent site, and displays its navigation with respect to this parent site!

Current navigation: use navigation items from the parent site

We are at site site1sub1. This site is highlighted in the left hand navigation structure. We see the parent site, and all sites at the same level as the parent site. Under the parent site we see the current site (highlighted), and all sites at the same level.

Current navigation: use navigation items from this site

We are at site site1sub1. This site is not visible in the left hand navigation structure, the current location can be determined from the site title, the global navigation, and the breadcrumb path as shown in the picture below. We see all sub sites with their sub-sub sites (2 levels).

Current navigation: use navigation items from this site, show siblings

We are at site site1sub1. This site is visible in the left hand navigation structure (but not highlighted), We see the sub sites of the current site, and all sibling sites (sites at the same level as the current site), but without their sub sites.

Showing pages in the navigation

Besides sub sites a site can contain pages. It is possible to display these pages in the left hand navigation:

The pages of site1sub1 are displayed in the left hand navigation. Note that the “Home” page is not displayed in this navigation. If we navigate to a page available in the navigation this page gets highlighted in the left hand navigation:

I did not find a way to make the “Home” page (Pages/default.aspx) part of the left hand navigation.

Note that the pages are always displayed in the breadcrumb trail.

Conclusion

SharePoint 2007 contains a very powerful navigation system that allows you to completely configure the way your site navigation is presented. I did only scratch the surface however. In a upcoming posts I will dive into the following topics:

Navigation Editing and Sorting – this functionality allows you to add custom additional navigation items and to show or hide sites and pages in the navigation (but not the default page in the Pages library!)

Navigation under the hood – which navigation controls are used by SharePoint, what are their possibilities and how can you for example change the current depth of 2 that is currently shown in the hierarchy.

Custom navigation providers – how can you utilize the SharePoint navigation controls with custom navigation information?

Any feedback is highly appreciated!

Published Wednesday, May 31, 2006 1:34 AM by svdoever
Filed under:

Comments

Monday, July 24, 2006 5:54 PM by Serge van den Oever [Macaw]

# SharePoint 2007 navigation - part 2

I while ago I started with a blog post serie on SharePoint 2007 navigation. I got to partone so far.

Wednesday, July 26, 2006 6:14 PM by Serge van den Oever [Macaw]

# SharePoint 2007 Navigation - part 3

Stramit wrote a real good blog post on SharePoint 2007 TreeView navigation. He is used our good friend

Tuesday, August 08, 2006 10:12 AM by Darran

# re: SharePoint 2007 navigation dissected – part 1

Good article! I have a question though...

When you create a Wiki site the default url points to Home in the Wiki Pages library. Does anyone know how you can customise this so that it points to another page in the same, or a different library?

Cheers,

Darran.

Friday, August 11, 2006 4:43 AM by Piet

# re: SharePoint 2007 navigation dissected – part 1

Hello i've installed my sharepoint also out-of-the box but i didn't get the sites above like (document center, reports, news, site) cant anyone help me? What did i do wrong?

Monday, December 18, 2006 6:40 AM by Sundar

# re: SharePoint 2007 navigation dissected – part 1

Hi,

I am trying to create a taxonomy in Sharepoint with the following approach.

The following Views View1, View2 and View3 are sites in the sharpoint Server

Root site.

The View1 demonstrates the site hierarchy structure and the way the

documents are stored.

The documents and the physical folder for the sites will be stored only

according to the View1 hierarchy.

View2 and View3 are just ways to look at the same data in a different

perspective. The sites and data under View2 and View 3 are not to be

replicated but to be referenced from View1 hierarchy sturcture.

Sharepoint SiteHome page View1 View2 View3

View1

Site 1

Site 11

Site 111

                               Doc1.doc

Doc2.doc

Site 2

Site 21

                                               Site 211

Doc3.doc

               Doc4.doc

View 2

Site111

Doc1.doc

Doc2.doc

Site211

Doc3.doc

Doc4.doc

View 3

Site 11

Site 111

                             Doc1.doc

Doc2.doc

Site 21

                               Site 211

Doc3.doc

               Doc4.doc

Is there a way to achieve this kind of structure. Thanks in advance for your help

Tuesday, May 08, 2007 9:39 AM by Konrad (Zuid-Afrika)

# re: SharePoint 2007 navigation dissected – part 1

Hi Piet,

This article focusses on  Sharepoint Portal Server 2007 and not for the free component called Windows Sharepoint Services (WSS 3.0).

A lot of the functionality such as sorting sites is not available unless you buy the full SPS 2007 product. ;-)

Anyone know of a WSS 3.0 feature to allow sorting of the site hierarchy? Maybe something the talented developers of SmarPart and Macaw Skinning tool could provide? :-P

Thursday, May 17, 2007 11:32 AM by johny peru

# re: SharePoint 2007 navigation dissected – part 1

ok ... but all a bit obvious really. Not sure if this sort of stuff needs explaining.  

Tuesday, May 22, 2007 6:29 AM by Sameer Patel

# re: SharePoint 2007 navigation dissected – part 1

Good article. Thanks a lot for the info

Wednesday, May 23, 2007 4:50 AM by Jodiem

# re: SharePoint 2007 navigation dissected – part 1

If I've got a lot of pages under each of the Global and Current Navigation headings is there an easier way to move things around rather than clicking move up or move down 20 times?

Saturday, June 30, 2007 1:48 PM by Graeme

# re: SharePoint 2007 navigation dissected – part 1

On a slightly different vein, is there any way to add breadcrumbs to shared document webparts?

Friday, July 20, 2007 9:24 AM by Anders

# re: SharePoint 2007 navigation dissected – part 1

So what do you do if you want to hide a site(default page) in the navigation and you have used the options of hiding it but it doesnt work?

I have tried all the options under navigation but it still will not hide the site/page from anonymous users. I have also tried restricting anonymous access but that doesn't hide it, it just provides a login popup when you try to access it.

Any help would be appriciated.

Wednesday, July 25, 2007 2:23 PM by Rene Hasprunar

# re: SharePoint 2007 navigation dissected – part 1

When trying to change or hide a couple sites I get an error.

The page  has been modified by another author on XX Jul 2007. does any one know how to get this resolved?

Thanks

Thursday, July 26, 2007 7:51 AM by Karim Aziz

# re: SharePoint 2007 navigation dissected – part 1

I have a problem in the tab on the top link bar is not selected when you connect to a PAGE after you enable the Office SharePoint Server Publishing Infrastructure feature in SharePoint Server 2007 OR without enable it when I added a link node with URL "servername/" or"/"

Thursday, September 20, 2007 10:15 AM by KDC

# re: SharePoint 2007 navigation dissected – part 1

And how do you add a link to a document in a drop-down top nav menu? Or even a different site not in that hierarchy? This is useful to support multiple navigation approaches by users.

Friday, September 21, 2007 2:15 PM by Greg

# re: SharePoint 2007 navigation dissected – part 1

I'm creating a side navigation tree menu.  I'm having problems with not being able to keep items collapsed.  They are always fully expanded.  In designer there are some options that look like they should work, but they don’t seem to.  Any advice would be appreciated.

Wednesday, October 03, 2007 3:48 PM by corni

# re: SharePoint 2007 navigation dissected – part 1

Where are the breadcrumbs store...default master or application, and in a custom master page how can I add them in?

Wednesday, October 17, 2007 8:06 AM by Chirag Darji

# re: SharePoint 2007 navigation dissected – part 1

HI,

  I want to add my own tab on Top site navigation control. I need a tab on right side of "Home" tab. Can you please tell me how to add the new tab? I want to do that for Left navigation also.

  Thanks in advance.

Monday, November 05, 2007 12:57 AM by mswin

# re: SharePoint 2007 navigation dissected – part 1

Hi,

I want to hide the home tab on the MOSS collbaration portal. How to do that.

Any help will be appreciated.

Friday, November 30, 2007 10:45 AM by Anu

# re: SharePoint 2007 navigation dissected – part 1

Hi,

I wanted to add a link in the top menu bar as a sub sub menu( 2-Levels)...

Example...\

Home News Sites...( first Level menu)

Under News Publications(second Level)

          Press releases

          News Letters...

Under Publications- jan 08(Third Level)

                   Feb 08..    

Any help is very much appreciated!

Thursday, December 13, 2007 11:08 AM by Tim Demoor

# re: SharePoint 2007 navigation dissected – part 1

Great article, made some issues a lot clearer to me!

in response to Karim Aziz's problem with the selected item on the tab link bar ->

support.microsoft.com/.../925974

Monday, March 24, 2008 6:13 PM by Sam

# re: SharePoint 2007 navigation dissected – part 1

I have installed MOSS 2007. i cannot get to the navigation options? is it to be enabled or some component to be installed.. ?

# Problems which I faced in projects « Sanket Shah’s Weblog

Pingback from  Problems which I faced in projects « Sanket Shah’s Weblog

Tuesday, September 16, 2008 12:50 AM by Thomas Goddard

# re: SharePoint 2007 navigation dissected – part 1

Where did you get the ability to uncheck siblings in the site navigation settings?  I don't have that checkbox... I only have three radio buttons:

  Display the same navigation items as the parent site  

  Display the current site, the navigation items below the current site, and the current site's siblings  

  Display only the navigation items below the current site  

Wednesday, October 22, 2008 2:09 PM by chris b

# re: SharePoint 2007 navigation dissected – part 1

Did you notice that if you uncheck "show subsites" on the parent (the Site site in your example)

Then after that, if you keep the "show siblings" selected in the Site1, then go back and look at your Site1 quicklaunch, NOTHING gets displayed?

It apparently is grabbing the values for "siblings" from the parent site.

I can go further and check Show Subsites at Site, and Hide the Site1 on that page, then go back to Site 1 (which is showing current and siblings) and it will only show the siblings not anything at or below Site 1.

I mainly notice this after the Infrastructure Update. Has anyone else? We have a ticket open with Microsoft and they have never heard of it.

Friday, October 31, 2008 2:11 AM by pardeep.bassi

# re: SharePoint 2007 navigation dissected – part 1

Query:

    I want to build two levels of tab menus like msdn. I have created site collection with publishing portal template. Under _cataloges there is one BlueTabs.Master page, in that below are two navigation controls:

As you can see for time being I have bind both to the same datasource. I am not able to bind 2nd with my own custom data source.

Can anyone please tell me, Where should I place that custom data source (in root level folder ?). I have tried all combinations.

<div class="topNav1">

         <SharePoint:AspMenu ID="topNav1" Runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal" StaticDisplayLevels="1" MaximumDynamicDisplayLevels="0" ItemWrap="false" SkipLinkText="<%$Resources:cms,masterpages_skiplinktext%>">

          <StaticMenuItemStyle CssClass="topNav1Item" ItemSpacing="0"/>

          <StaticSelectedStyle CssClass="topNav1Selected" ItemSpacing="0"/>

          <StaticHoverStyle CssClass="topNav1Hover"/>

         </SharePoint:AspMenu>

         <PublishingNavigation:PortalSiteMapDataSource ID="siteMapDataSource1" Runat="server"

          SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"

          StartFromCurrentNode="true" StartingNodeOffset="0" ShowStartingNode="false"

          TreatStartingNodeAsCurrent="true" TrimNonCurrentTypes="Heading"/>

        </div>

<div class="topNav2">

      <SharePoint:AspMenu ID="topNav2" Runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal" StaticDisplayLevels="1" MaximumDynamicDisplayLevels="0" SkipLinkText="<%$Resources:cms,masterpages_skiplinktext%>">

       <StaticMenuItemStyle CssClass="topNav2Item" ItemSpacing="0"/>

       <StaticSelectedStyle CssClass="topNav2Selected" ItemSpacing="0"/>

       <StaticHoverStyle CssClass="topNav2Hover"/>

      </SharePoint:AspMenu>

      <PublishingNavigation:PortalSiteMapDataSource ID="siteMapDataSource2" Runat="server"

       SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="true"

       StartFromCurrentNode="false" StartingNodeOffset="1" ShowStartingNode="false"

       TrimNonCurrentTypes="Heading"/>

     </div>

Tuesday, November 25, 2008 3:20 AM by Raj

# re: SharePoint 2007 navigation dissected – part 1

Hi..

It was an excellent topic. thanks a lot for sharing with us.

and i am eagarly waiting for your next blogs which you had specified.

good bye

raj

Friday, December 19, 2008 3:11 AM by Andries den Haan

# re: SharePoint 2007 navigation dissected – part 1

In the design for a new site we are building the vertical navigation supports 2 layers. End-users may click on a main menu item and on the subitems below the main menu item. When selecting a submenu item the link should be highlighted, but also the parent link above (main menu item).

Any ideas on how to Maintain an active header and selected sub item?

Monday, January 19, 2009 8:26 AM by sandeepreddi

# re: SharePoint 2007 navigation dissected – part 1

Good article

Thursday, April 23, 2009 2:55 AM by Darren

# re: SharePoint 2007 navigation dissected – part 1

Hi, could u teach me how u did it such that the navigation bar is collapsible?

Monday, April 27, 2009 11:40 AM by Gunjan

# re: SharePoint 2007 navigation dissected – part 1

Hi,

Is it possible to have left and right navigation(menus) on a page and clicking on any link/menu displays content of that menu in the center of the page??

Please guide me.

Thanks in advance.

Monday, April 27, 2009 11:43 AM by Gunjan

# re: SharePoint 2007 navigation dissected – part 1

Hi,

Is it possible to have left and right navigation(menus) on a page and clicking on any link/menu displays content of that menu in the center of the page??

Please guide me.

Thanks in advance.

Wednesday, May 13, 2009 5:58 PM by Niranjan

# re: SharePoint 2007 navigation dissected – part 1

how do two tabs(subsites) refer to the same page. And there tabs(subsites) have dropdowns for their subsites.

Monday, January 18, 2010 8:37 AM by Vishal Tanwar

# re: SharePoint 2007 navigation dissected – part 1

Thanks,

Excellent article.

Tuesday, February 23, 2010 5:05 PM by Tom

# re: SharePoint 2007 navigation dissected – part 1

Tahnks,Helpful article....

Can you tell me how can i add current navigation to search/Advanced.aspx Search page?

Tuesday, March 02, 2010 9:41 AM by iFunky Website Development

# re: SharePoint 2007 navigation dissected – part 1

Just started to learn about Sharepoint and now tasked with customization of the global navigation look and feel.  Are there any good posts/links on this as I'm not sure where to start!  

Thanks

Monday, September 13, 2010 9:11 AM by Terry S.

# re: SharePoint 2007 navigation dissected – part 1

I like the features of Global navigation, but I want to change the name of the first tab on top back to "HOME" instead of the Site Name.   Is there any easy way to do this?

Saturday, December 18, 2010 2:04 PM by ipad app note taking

# re: SharePoint 2007 navigation dissected – part 1

The wealth of the mind is the only wealth.

-----------------------------------

Sunday, January 09, 2011 6:53 AM by best ipad case

# re: SharePoint 2007 navigation dissected – part 1

-----------------------------------------------------------

Your blog is so educational … retain up the excellent function!

Monday, May 30, 2011 3:11 AM by weblogs.asp.net

# re: SharePoint 2007 navigation dissected – part 1

SharePoint 2007 navigation dissected _1320_ part 1.. Bully :)

Wednesday, June 29, 2011 11:33 PM by Numbers Brenden

# re: SharePoint 2007 navigation dissected – part 1

Your website is very fantastic ... carry on the great effort!

Friday, August 12, 2011 8:59 AM by Farhod Omonov

# re: SharePoint 2007 navigation dissected – part 1

HI,

I'm working with WSS 3 i want to make sub menu in my top navigation menu can you help me ?

Thursday, May 31, 2012 1:05 PM by Gilchrist

# re: SharePoint 2007 navigation dissected – part 1

Hello, i think that i saw you visited my weblog so i came to “return the

favor”.I am trying to find things to enhance my site!I suppose its ok to use some of

your ideas!!

Thursday, October 04, 2012 1:30 PM by Kong

# re: SharePoint 2007 navigation dissected – part 1

Thats deninitely true what you have said. I agree with what you have stated.

You made the points looks simple, thats what we all have been expecting.

Will be subscribing your feeds. do keep updating with such topics.

Monday, November 19, 2012 9:52 AM by Reuter

# re: SharePoint 2007 navigation dissected – part 1

I just added your RSS Feed on my RSS reader, it's so nice to read your blog.;:`;*

Sunday, November 25, 2012 9:12 AM by Sommers

# re: SharePoint 2007 navigation dissected – part 1

Pleasant blog post. It appears that a lot of

the stages are counting on that the inventiveness element.

“Bad mind, bad heart.” by Anacharsis Cloots..

Friday, December 21, 2012 4:19 PM by Lo

# re: SharePoint 2007 navigation dissected – part 1

I was seeking the internet checking out some stuff and found your site.

I wanted to tell you that I think your site has some first-class content

and that I have already favorited this site so I can visit

again soon first-class job!

Saturday, December 22, 2012 10:36 AM by Cain

# re: SharePoint 2007 navigation dissected – part 1

I as well believe thence , perfectly pent post!

.

Tuesday, December 25, 2012 8:20 PM by Lyle

# re: SharePoint 2007 navigation dissected – part 1

There a couple of interesting points over time here on the other hand I don’t be acquainted with if I see them all

center to heart. There exists some validity however Let me take hold opinion until I look into it further.

Very first-rate post , thanks and now we want more! Included with FeedBurner at that the same time

Wednesday, December 26, 2012 8:35 AM by Hudspeth

# re: SharePoint 2007 navigation dissected – part 1

you’ve gotten an important weblog right here!

would you would just like to make some invite posts

on my weblog?

Tuesday, January 01, 2013 1:42 AM by Brinson

# re: SharePoint 2007 navigation dissected – part 1

The new smoking alternative has become famouse in that the market.

Its called the Electronic Cigarettes, bring a packet to

your home and than say me just how much you liked it.

Thursday, January 10, 2013 4:25 PM by Norfleet

# re: SharePoint 2007 navigation dissected – part 1

If you wish to purchase a piece of industrial real estate, consider the type of tax breaks and rewards

you could acquire. As well as depreciation advantages, numerous buyers enjoy tax write offs for fascination expenses.

However sometimes traders obtain what exactly is referred to as "phantom earnings", and that is revenue

that is taxed but isn't received as cash. Before buying industrial real-estate, you should get to know this particular type of revenue.

Saturday, January 19, 2013 12:47 AM by Hodges

# re: SharePoint 2007 navigation dissected – part 1

You FINALLY want the respect off your loved ones and friends?

Friday, February 01, 2013 7:48 AM by Reddy

# re: SharePoint 2007 navigation dissected – part 1

I see something really interesting about your website so

I saved to bookmarks .

Leave a Comment

(required) 
(required) 
(optional)
(required)