Apply custom master page based on site template. RRS feed

  • Question

  • Hi,


    I have created a custom branding feature, which replace “v4.master” with my “customv4.master”. I also stapled the branding feature at farm level, the feature  it working fine. But I have a issue here, I am targeting site templates which are only using v4 master page.


    I also created “custommysite.master” ,”customminimal .master” and other custom master pages.


    How can I staple, all these different types of master pages to the site templates?


    I mean for instance , If a user chose search center as a site template, “customminimal.master” page should be applied automatically, like, If a user chose my site host as a site template, “custommysite.master” master page should be applied

    automatically and so on.


    What is the best approach to achieve this task?


    I think, this can be done by just modifying all the master pages existing on the file system.


    But, I need another approach to achieve this task.

    • Moved by Mike Walsh FIN Wednesday, March 23, 2011 2:37 PM customization not programming (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Wednesday, March 23, 2011 1:32 PM