I had a request to change the title which is displayed in IE from Pages - Home to something a bit more
meaningful. Easy I thought! However it took a lot of googling to find the right answer for me. Some guides such as this one worked ok, but what if you weren't using the default.aspx page? In my environment, this is seldom used and instead a custom page layout is the most common. I needed something that would affect all pages using my custom masterpage.
The trick that worked for me was to find the <title> tag, copy the following text:
<asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/>
Move it to a section which is common on many masterpages to hide content place holders which arent being used: ( like shown below)
<asp:Panel visible="false" runat="server">
<asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/>
</asp:Panel>
Then go back to the title section and do the following: <Title ID=onetidTitle>Insert new custom title here</Title>
and that's it!
meaningful. Easy I thought! However it took a lot of googling to find the right answer for me. Some guides such as this one worked ok, but what if you weren't using the default.aspx page? In my environment, this is seldom used and instead a custom page layout is the most common. I needed something that would affect all pages using my custom masterpage.
The trick that worked for me was to find the <title> tag, copy the following text:
<asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/>
Move it to a section which is common on many masterpages to hide content place holders which arent being used: ( like shown below)
<asp:Panel visible="false" runat="server">
<asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server"/>
</asp:Panel>
Then go back to the title section and do the following: <Title ID=onetidTitle>Insert new custom title here</Title>
and that's it!