Monday, January 14, 2013

#SharePoint | Master Pages By Site Template

Master pages vary by site template.
As much as we'd like to create a master page that is suitable for all kinds of sites, search and meeting sites require specific layout changes that the default master page does not support. So here's a breakdown of SharePoint 2010 default master pages.



Team Site / Blog / Wiki / etc.
Meeting Site (ID: 2)
Search Site (ID: 90, 50)
My Site

SharePoint Designer: Custom Master Page
SPWeb Object: Web.CustomMasterURL
Site Actions: Site Master Page (first option)

Note: Applied to front end

v4.master
MWSDefaultv4.master
minimal.master
V4.master

SharePoint Designer: Default Master Page
SPWeb Object: Web.MasterURL
Site Actions: System Master Page (second option)

Note: Applied to admin area

V4.master
MWSDefaultv4.master
V4.master
V4.master

Search changes
- Move immediately before PlaceHolderMain
<asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">...</asp:ContentPlaceHolder>

Meeting sites changes
- Add header namespace
<%@ Register Tagprefix="Meetings" Namespace="Microsoft.SharePoint.Meetings" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

- Add controls immediately before PlaceHolderMain
<Meetings:CustomToolPaneManager runat="server"/>
<Meetings:PropertyBag runat="server"/>
<Meetings:PageTabsWebPart runat="server"/>

No comments:

Post a Comment