Category Archives: Global Navigation

Re-instating the Navigate Up function on SharePoint 2013

For some reason SharePoint 2013 doesn’t include the Navigate Up function previously available to SharePoint 2010. This function is important when navigating up a site hierarchy. To get it back you must open SharePoint Designer 2013.

1. Click on Master Pages and create a copy of the seattle.master (the new default master page).

2. Right click on the seattle_copy(1).master and select Open. Search for:

class=”ms-breadcrumb-dropdownBox” – it should be on line 369.

3. Delete the style=”display:none;” at the end of the line.

4.Delete the Visible=”false” a couple of lines underneath.

5. Save the seattle_copy(1).master.

6. On the Master Pages list, right-click on the seattle_copy(1).master and select Set as Default Master Page.

7. Check that the seattle_copy(1).master is applied to the site collection as the default Site Master Page by clicking on Master Page (under Look and Feel) in Site Settings.

8. Refresh the sub-site to see the Navigate Up icon to the left of the global navigation menus.

.

SP10 Publishing Global Navigation without Publishing Infrastructure

A colleague of mine – Andy Burns has offered a useful tip if you want your SharePoint 2010 deployment to benefit from using the Publishing Navigation features, without the added baggage provided when the site collection’s Publishing Infrastructure feature is enabled. He discovered that there is a “Navigation” feature nestled in the Publishing Infrastructure set of features. If only the Navigation feature is enabled you can work with the Publishing navigation for your top link bar and current navigation.

Using STSADM or Powershell you can activate the hidden feature. The Feature’s name is Navigation and it has a GUID of 89E0306D-453B-4ec5-8D68-42067CDBF98E

The STSADM command is: stsadm -o activatefeature -name navigation -url <url to site>

Search Center navigation problems in SP10

SharePoint’s Enterprise Search Center and Basic Search Center are based on a minimal.master Master Page. This means that you cannot easily integrate a Search Centre into your standard global navigation deployment. To get around this problem you can either open the Search Centre in a new browser window, or implement a fix. My company Deltascheme offer a simple fix for the Basic Search Center. If you choose to install the solution you can create a revised version of the Basic Search Center that integrates with your standard v4.master global navigation.

Follow this link to download the fix: http://www.deltascheme.com/deltascheme-products/basic-search-center-with-navigation-for-sharepoint/

Removing the first Global Navigation tab in SharePoint 2010

One of the areas I find particularly fiddly when deploying SharePoint is its navigation – particularly with larger deployments that require multiple site collections.

This post relates to one particular problem I commonly experience working with a publishing site collection’s global navigation settings. How do you remove the default first global navigation tab that appears on each new site collection? This automatically appears named the same as the site collection title (with publishing activated).

On this example I have a site collection with the SharePoint Server Publishing Infrastructure feature activated, so that I can take advantage of SharePoint’s drop-down sub-menus.

1. Having created the site collection I first open the site collection in SharePoint Designer, using the Site Actions > Edit in SharePoint Designer menu option.

2. Right click on the v4.master page and select ‘Copy’. (This is the SharePoint 2010 equivalent of the default.master page used in SharePoint 2007).

3. Right click and select ‘Paste’ to paste a copy of the v4.master page – it will be default be named v4_copy(1).master

4. Right click on the copied v4_copy(1).master page and select ‘Open’. You will be prompted to check it out – respond ‘Yes’.

5. Click the Find ribbon button and search for PlaceholderAddition

6. On line 28 of my v4_copy(1).master page I find the following line:

<asp:ContentPlaceHolder id=”PlaceHolderAdditionalPageHead” runat=”server”/>

Insert the following line above this line:

 <link href=”/Style%20Library/customstyles.css” rel=”stylesheet” type=”text/css” />

7. Right click on the v4.master page tab in SharePoint Designer and select Save. You will see warning prompt advising you changes will customize this page so that it is no longer based on the site definition. Click ‘Yes’ to continue.

8. Now click on ‘All Files’ in the Site Objects window (left) in SharePoint Designer. Open the Style Library folder. Right click and select New > CSS File.

9. Name the css file:

customstyles.css 

10. Right click and select Open to open the customstyles.css file. Paste the following (ensuring there are no blank lines before the text):

.s4-tn li.static > a {

 display: none !important;

}

.s4-tn li.static > ul a {

 display: block !important;

}

11. Right click on the customstyles.css tab in SharePoint Designer, and select Save. Click on Style Library on the breadcrumb. Right click the customstyles.css and select Check In. Select Publish a major version and click OK.

12. Click on Master Pages and right click the v4_copy(1).master file and select Check In and then sSelect Publish a major version and click OK. You will be prompted that the document requires content approval. Click Yes.

13. Click on the v4_copy(1) item’s function menu and select Approve/Reject. Click the Approved radio button and click OK.

14. Now return to the site collection and click on Site Actions > Site Settings.

15.  Click on the Master page link (under Look and Feel). CHange the Site Master Page to v4_copy(1).master. In the Alternate CSS URL section, click on the ‘Specify a CSS file…’ radio button and click the Browse button. Click on the Style Library and select the customstyless css file. Click the OK button. On the Site Master Page Settings page decide whether it is appropriate to click the ‘Reset all subsites..’ radio buttons for the Site Master Page and Alternate CSS URL. Click the OK button to complete the process.

16. The first global navigation tab will no longer be displated. Now return to Site Settings and start creating your global navigation tabs using the Navigation link under Look and Feel.

This approach is ideal in situations where you want to have a consistent navigation experience across multiple site collections. The alternative is to create your own custom global navigation panel.