SharePoint solutions are shaped by business requirements and organizational needs, and so it is natural that they vary in their level of complexity as well as in their use of the different technical capabilities of the platform.
However, I have observed that ‘Site Branding’ to some extent is fairly common across the spectrum of SharePoint projects.
There are different approaches available to us for changing the out-of-the-box appearance of SharePoint sites. The determining factor in deciding the optimal approach to achieve the desired outcome is of course the degree of tailoring required to the look-and-feel.
Here I share with you a visual reference to the content place holders used in default.master, which can help developers attempting to create their own master page based on the default master page.
Master Page – default.master
One of the challenges faced by developers in dealing with a SharePoint Master Page is figuring out the UI elements represented by the different Content Placeholders.
The table below provides a list of the ContentPlaceHolder Ids and corresponding UI element for the default.master Master Page.
Content Placer Holder Id
Corresponding UI Elements
The PlaceHolderPageTitle content placeholder on respective WebForms will expect a string value that represents the page title.
The page title is displayed in the browser’s title bar.
Additional content that needs to be within the <head> tag of the page, for example, references to script in style sheets.
Contains all the navigation items appearing at the global navigation level.
It has the global bread crumb on the left side and to its right includes global links, welcome user control, my site, my links and help link.
Small search input box
Top navigation area
Top navigation menu
The page editing controls when the page is in Edit Page mode (after clicking Site Actions, then Edit Page)
Shows the page status. Corresponding control is - ‘designmodeconscole.ascx’
In MOSS Publishing Console is the control which provides the ‘edit page’, ‘check in’, etc., functionality for publishing pages.
Corresponding control is – ‘PublishingConsole.ascx’
This content place holder is empty by default in Windows SharePoint Services.
Page icon in the upper left area of the page.
Main content breadcrumb area.
Page title shown immediately below the breadcrumb.
A place to show page-level commands, for example, WIKI commands such as Edit Page, History, and Incoming Links.
Left border of the title area.
Right margin of the title area.
Shows shadows for the title area.
Data source for the left navigation menu.
Shows a date picker for navigating in a calendar when a calendar is visible on the page.
Top of the left navigation area.
Left navigation area.
Bottom of the left navigation area.
The width of the left navigation area.
Border element on the left navigation bar.
Border element for the main page body.
Description of the page contents.
Page's main content.
Right margin of the main page body.
This place holder is at the bottom of the page. It is replaced by a hidden field that holds the "form digest" security control.
The security validation is specific to a user, site, and time period and expires after a configurable amount of time (default is generally 30 minutes). When the user requests a page, the server returns the page with security validation inserted. When the user then submits the form, the server verifies that the security validation has not changed.
For more information see – Security Validation and Making Posts to Update Data
Extra content that needs to be at the bottom of the page. It is located at the bottom of the page after the form closing tag. Used for content such as footnotes.
Additional body styles in the page header.
Additional styles in the page header.
Information on the master page content placeholders is also available in a concise form on MSDN at http://msdn.microsoft.com/en-us/library/ms467402.aspx
I have found myself cutting down on master page development time using this visual reference and hope you will also find it to be of assistance in your efforts to tailor master pages for SharePoint content pages.
Microsoft Global Services