MySite masterpage

Hi All,

On MOSS2007:

I'm trying to change the default masterpage for mySites. I tried to edit the default.aspx in the 12/templates/sitetemplates/spspers folder, but I can't seem to let it point to another master ... as soon as I change the masterfile path, the page breaks.

Any ideas on what's the best approach to link up my mySites with a custom masterpage

Fred




Answer this question

MySite masterpage

  • Avi_harush

    Once you've got the Mysites using your custom master page, you have to update the file on the server not in SharePoint designer or the SharePoint master page library as this only changes the one site. All of the MySites will be using a ghosted version of the one on the server hard disk

  • spshah

    You have to modify the default.aspx file in SPSPers to use Custom.Master page to get the My Profile view to use a single master page; it is not inherited from the Portal home. There are only 2 settings, default.master or custom.master.
    You need to create a new master page and place it in the SPSPers directory and then modify the ONET.XML by adding a reference in the configuration to use your page

    <Configuration ID="0" Name="Default" CustomMasterUrl="_catalogs/masterpage/myMaster.master">

    Add a new module

    <Module Name="CustomMasterPage" />

    and in the modules section, add

    <Module Name="CustomMasterPage" List="116" Url="_catalogs/masterpage" RootWebOnly="FALSE">
    <File Url="MyMaster.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" />
    </Module>

    Then recycle the IIS process. This will not update existing Personal site but will add the ghosted file to all new sites. You should now be able to update the MyMaster file and see the changes in your Personal Sites.

    You can update the personal site master page in SHarePoint designer and it will effect all sites



  • vbhatia

    Marcel Haas wrote:

    Did you publish a major version of the master after customizing it

    on my portal the master is ok, i just edited the defualt master and published a major version. it is not that a nice way but the only one that works for me. if microsoft delivers updates on sharepoint i have to keep attention, and maybe manually have to change the master after upgrade.

    Maybe this can help u: http://www.heathersolomon.com/blog/articles/servermstpageforsitecollect.aspx

    thank you Marcel Haas


  • Cygon4

    Did you publish a major version of the master after customizing it

    on my portal the master is ok, i just edited the defualt master and published a major version. it is not that a nice way but the only one that works for me. if microsoft delivers updates on sharepoint i have to keep attention, and maybe manually have to change the master after upgrade.

    Maybe this can help u: http://www.heathersolomon.com/blog/articles/servermstpageforsitecollect.aspx

    greetings, marcel

     

     


  • Strakian

    Hi,

    Well, I use a custom masterpage on the rest of the portal, so I'dlike to use that one.

    But if that doesn't work, customizing the default would be ok too ... if it affects only the mysites that is ..



  • ntsoo

    Tnx Alan,

    That's exactly what I wanted.

    One thing is a pitty though ... I did something similar wih the global onet.xml to change the masterpage of newly created teamsites, but now I've ended up with two file copies of my custom masterpage which isn't very nice because changes have to be copied now to those 2 locations.

    But I'm happy :-)

    Fred



  • Donald Sechrest

    which ONET.XML I should modify

    the one in the SPSPers directory

    Would you show me your onet.xml file code to me

    send to me if it's possible : garyken@126.com

    Thank you !


  • Anthony Tarlano

    Can you be specific wheather you want to have two master page in your application (or) you want to customise the existing master page.


  • RMD

    Hi Alan

    Im trying to massively edit the master page of all the existing MySites in my organisation.

    I've tried to follow your instructions: I remotely accessed my server and:

    Changed the default.aspx in the SPSPERS to Custom.master, edited the onet.xml, then did IIS reset.

    Then I go back to edit the MyMaster.master located in the master gallery page, but the changes do not appear on allready existing MySites.

    But I have a feeling im doing something wrong.

    Do you have any ideas on how to create a master page that will apply all changes to allready existing MySites



  • MySite masterpage