Monday, April 14, 2008

SharePoint: Display site title

Normally, the site title is included in through a content placeholder.

<Title ID=onetidTitle><asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/></Title>

I needed on my master page directly though, since it wasn't always in every page layout.

<Sharepoint:ProjectProperty id="onetidProjectPropertyTitle" runat="server" property="Title" />

1 comments:

Philip Izod said...

Perfect, thanks mate.