“Just the Essentials” SharePoint Master Pages

As a follow up to my “Base Master Page Files for SharePoint 2007“, I have put together and posted several different master page files for use with SharePoint 2010.  Every file is heavily commented and provides a lot of information about what code is necessary for various SharePoint functionality and content.  Due to the enhanced user interface elements added to SharePoint 2010 such as the Ribbon and dialog boxes, there are specific HTML elements, IDs and classes that need to remain in place in the master page.  You can’t take a total slash and burn approach to developing a custom SharePoint 2010 master page.   So in short, read the comments!

UPDATE July 2012:  HTML5 versions of the master pages have been added. Please read this blog post about the changes that were made. 

“Just the Essentials” SharePoint Master Pages for non-publishing and publishing SharePoint 2010 sites

  • This master page started as a copy of v4.master (default SharePoint master page – simple layout with top navy bar) and then was stripped of anything not necessary for SharePoint to function.
  • All unnecessary layout HTML code has been removed. Any identified errors have been corrected, quotes added around values, etc.
  • Comments have been added to label SharePoint components and to indicate what is necessary for SharePoint to function.
  • There is no design to this master page! When initially loaded in a SharePoint site, most of the page components will be stacked vertically down the page. You will need to add your own HTML and CSS code to set up your custom layout.
  • The Ribbon is just that… the Ribbon only. All peripheral content (Site Actions, Welcome menu, etc.) have been moved out of the SPRibbonPeripheralContent controls.
  • The publishing version includes the publishing controls and other variations found when comparing v4.master to nightandday.master (the sample publishing master page that ships with SharePoint).
  • A HTML5 version has been provided for both master page files.  Read this post for an explanation behind the code changes.

Downloads:

SharePointV4 Comments and Corrections Master Pages

  • This is a copy of v4.master (default SharePoint master page – simple layout with top navy bar) that still has all original HTML layout code in place.
  • Comments have been added to label SharePoint components and to indicate what is necessary for SharePoint to function.
  • Any identified errors have been corrected, quotes added around values, etc.
  • The UI4 Only version does not include UI3 code that is provided for SharePoint 2007 sites that have been upgraded to 2010 but have not had the visual upgrade completed. If you are not supporting UI3 sites (2010 sites that look like 2007) then you can use the UI4 Only version.

Download:

Which master page is right for me?

If you just need to tweak the default SharePoint layout around or insert/remove some components, you can use the SharePointV4 Comments and Corrections.master file or the SharePointV4 Comments and Corrections UI 4 Only.master file.

If you need to completely change the SharePoint look and feel (make SharePoint NOT look like SharePoint) and you are comfortable working with CSS based layouts, then use Just The Essentials.master.

If the latter applies to you and you are working with publishing sites, use Just The Essentials Publishing.master.