O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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"> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required