vendredi 12 décembre 2014

Changing Window Title



I've been trying to change the window title shown at the top of the browser and on the tabs.


I've used the following code which gets me halfway there. (We have Sharepoint 2013)



<!--MS:<SharePoint:PageTitle runat="server">-->
<!--MS:<asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server">-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--ME:</SharePoint:PageTitle>-->


But unfortunately it prefaces my page name with "Pages -" and I can't seem to get rid of that. I want the tab and browser title to say "TestTest" instead of "Pages - TestTest".


I'm sure it's something simple but i can't seem to get it. Any tips would be greatly appreciated.


top of browser image








0 commentaires:

Enregistrer un commentaire