none
Changing the title name on the web browser tab??

    问题

  • I have an intranet portal and on the Browsers tab it shows "Home- Home".

    Now I did edit the page title and set it to "X.Inc Intranet". But now it just shows "Home- X.Inc Intranet"

    What else should I be editing to get this right?


    2012年6月22日 15:52

答案

  • Interesting - I'm guessing it has something to do with your custom master page.  The tab title takes its value from the <title> tag.  After setting my page's title value to "Home 2" this is the output I get:

    <title>
    	Home 2
    </title>

    If you look at the default masterpages their title declarations look something like this:

    <title id="onetidTitle"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/></title>

    I would check and see if there is a leading "Home" in your title declaration.

    2012年6月22日 19:42

全部回复

  • Unless you've made any masterpage changes, just changing the publishing page's title (and publishing your changes) should be enough to change the tab.

    Can you confirm you're running 2010?

    Can you confirm you are using a publishing template?

    What masterpage are you using and has it been updated?

    2012年6月22日 19:20
  • Raymond 

    Thanks for posting. 

    Yes I am running 2010

    Yes I am using a publishing template. 

    I have a custom master page. 

    Note: I have already changed the welcome page/Home page title from Pages library to X but it still shows up as "Home - X" I dont know where the Home showed up from??


    2012年6月22日 19:37
  • Interesting - I'm guessing it has something to do with your custom master page.  The tab title takes its value from the <title> tag.  After setting my page's title value to "Home 2" this is the output I get:

    <title>
    	Home 2
    </title>

    If you look at the default masterpages their title declarations look something like this:

    <title id="onetidTitle"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/></title>

    I would check and see if there is a leading "Home" in your title declaration.

    2012年6月22日 19:42
  • Thanks again 

    Will check and post back

    2012年6月22日 20:27