Recently, in my project
a need arises to show the site description in header part of the custom master
page. Sharepoint provides a tag named “ProjectProperty” to use site properties
inside custom master page for user display.
<asp:Content
ContentPlaceHolderId=”PlaceHolderPageTitle” runat=”server”>
SharePoint Tags
</asp:Content>
|
Site
Title: <SharePoint:ProjectProperty Property=”Title” runat=”server”/>
Site Description : <SharePoint:ProjectProperty
Property=”Description” runat=”server”/>
Other SharePoint Properties are listed
below which avoids the customization.
<SharePoint:ListProperty Property=”Title” runat=”server”/>
<SharePoint:ListItemProperty
Property=”Title” runat=”server”/>
<SharePoint:ListFormPageTitle
runat=”server”/>
Place this tag inside the master page or in
page layouts and see the changes.
No comments:
Post a Comment