sharepointtitlesitecollection

Changing SharePoint Site Collection Title


I need to change the title of a site collection in SharePoint (MOSS 2007). I found one post saying it can be done in SharePoint Designer, but I wasn't seeing the specified menus, and haven't been able to find it anywhere else. I'm assuming I can do it programmatically if necessary, but I'd like to think they made it easier than that (silly me).

UPDATE: I actually didn't follow your advice entirely. I simply changed the XML file you located the heading in, and that worked perfectly. Thanks!


Solution

  • OK, I think I know what you mean now. You want to change the title for the html page and not the title of a site. I did a little digging and here's what I found.

    The text "Home" comes from this xml file (on my rig):

    C:\Inetpub\wwwroot\wss\VirtualDirectories\80\App_GlobalResources\wss.en-US.resx

    <data name="multipages_homelink_text">
        <value>Home</value>
    </data>
    

    By default, Sharepoint creates the title text by concatenating "Home - " + site's title. So if you want to have totally custom text, do the following:

    Open this file for edit:

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates\sts\default.aspx

    Next, replace the sharepoint title with your custom text:

    Before:

    <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>
    

    After:

    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
        Your custom text goes here...
    </asp:Content>
    

    Hope this is what you're looking for!!!