Pages

Tuesday, May 1, 2012

Starting with Master pages in SP 2010


Customized Master pages in SharePoint 2010::

Introduction
This article demonstrates we will how to enable/use the Custom Master Page changes in Sharepoint 2010.  
Step 1: To Enable Customization
 First if we want to work/change the Master Pages in SharePoint 2010, need to enable the below features.

Navigate to the landing page of your newly created site collection:

Click on “Site Actions” → Click on “Site Collection Features” → Enable “SharePoint Server Publishing Infrastructure”

Step2: Enable this feature at site collection level   
We need to do the same thing at site level also.
Click on “Site Actions”→ Click on “Manage site features” → Enable “SharePoint Server Publishing”

Step4:

 Enable on a site level 

Step5:
Once we enabled the features, we can able to see the Master Page option in Look and Feel.

If the Master Page is already enabled, we can skip the steps from 1 to 4.

Select your customized and published master page:
If we get the below warning means the Master page may not be published correctly. We can follow the below solution steps.
Warning: The selected master page has no approved version. This site may appear to be broken to users without the view versions right in the Master Page Gallery
Steps:
Click Site Actions –> Site Settings –> Modify All Site Settings
Click Master pages and page layouts
Click the down arrow next to your .master file
If Check In is an option, click Check In
Click OK
Click the down arrow next to your .master file again
Click Publish a Major Version
Click OK
Click the Down arrow next to your .master file
Click Approve/reject
Click the Radial Button next to Approved.
Click OK.
 The final output of Customized master pages:
   

Summary:


C
ustomizing the Master Page is important step in SharePoint Portal development. For start-up we can use the Codeplex pages, based on our requirement we can customize the design.


No comments:

Post a Comment