MOSS 2007 team site page title
Posted
by nav
on Stack Overflow
See other posts from Stack Overflow
or by nav
Published on 2010-03-30T10:10:47Z
Indexed on
2010/03/30
10:13 UTC
Read the original article
Hit count: 325
Hi,
I'm trying to display the page title (html title) on the default.aspx page of a custom site template. The template is based on a MOSS team site template.
All that displays is the URL of the page as the page title. Can I change the code in the default.aspx and/or the sites master page to define the title myself? Details of the deafult.aspx and default.master page as below: Thanks.
Default.aspx:
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,multipages_homelink_text%>" EncodeMethod="HtmlEncode"/>
- <SharePoint:ProjectProperty Property="Title" runat="server"/>
</asp:Content>
default.master
<Title ID=onetidTitle><asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/></Title>
© Stack Overflow or respective owner