Wednesday, February 8, 2012

Customizing SharePoint 2010 Master Pages: Approaches


To customize the primary master page in SharePoint 2010, you can use the v4.master page as your starting point by customizing a copy of it, or you can create a new custom master page from scratch, and make it the primary master page for your site.

Both approaches have their advantages and disadvantages...
1. By customizing a copy of v4.master, you’re using the existing SharePoint look and feel, with its features, brand, and design elements, and customizing it to meet your requirements. While it can be challenging as you try to understand how everything works in the v4.master page, this approach is useful for minimal branding or customization efforts, like changing the header of your SharePoint pages.

2. By creating a blank custom master page or by using the Starter Master Page as the basis of your page, you’re creating the whole design from scratch. While this approach can be challenging because you need to know how to implement a design in SharePoint, it’s also more flexible when you know the design you’re trying to create and you’re working off existing plans and prototypes. The mostly empty page acts like a canvas for you to first build your design and then add the required SharePoint components. 

Mastering a Master Page requires an understanding of the Content Place Holders and other tags in the code.
All the Content Place Holders are mandatory in a master page. You can only hide them with this property visible="false" in an asp panel if you dont require them. These Content Place Holders define sections like Global Navigation, Logo, Quick Launch, Top Navigation, User Welcome, Site settings, Main Content Area, Breadcrumbs, Left Navigation etc

No comments:

Post a Comment