Hyperlinking the Site Logo

By default, clicking the SharePoint site logo (shown in split view in Figure 17.82) returns the user to the current site. However, sometimes you want to change the default behavior and instead have the logo point to the root site of the site collection, irrespective of the current location within a site collection.

Figure 17.82 The default site logo and related controls in v4.master.

image

In SharePoint Foundation 2010 and SharePoint Server 2010 sites you can add the token ~sitecollection/ in the NavigateUrl property, such as the following:

<!-- always point to root site of site collection, SPF2010--><td class="s4-titlelogo"> ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.