Sharepoint page title change from ‘Basic page’

Sharepoint displays ‘Basic page’ in the browser title bar for any basic pages.

To change, directly edit the .aspx file in windows explorer. To ge to that, use e.g. Start > Run and paste in the address of your sharepoint site which you can take from its URL, something like: ‘\\myspserver.mydomain.com\root\documentation\myteam\Documents\’

When editing the .aspx file, look for text like this:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListFormPageTitle runat="server"/>
</asp:Content >

Take out:

<SharePoint:ListFormPageTitle runat="server"/>

and put in your own title. So you end up with something like this:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    My Page Title
</asp:Content>

You may instead see text like this:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,webpagecreation_bp_title%>" EncodeMethod='HtmlEncode'/>
</asp:Content>

If so, take out:

text="<%$Resources:wss,webpagecreation_bp_title%>"

and put in your own title. So you end up with something like this:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="My Page Title" EncodeMethod='HtmlEncode'/>
</asp:Content>

(From Answer 22 at http://www.go4answers.com/Example/change-page-title-page-already-created-63446.aspx)

December 24, 2010

  • Leave a Reply

    Your email address will not be published. Required fields are marked *