Welcome to TechNet Blogs Sign in | Join | Help

Master Page Example

I used the sample master pages at http://office.microsoft.com/en-us/sharepointdesigner/HA102223711033.aspx in several Feature Stapling/Receiver demonstrations over the past year and was asked if I could provide the solution package I compiled using the Clarity master page (see image) in conjunction with a Feature Receiver to update the master page on both site collections and Webs.  I've finally gotten around to uploading the .wsp, so for those interested it can be downloaded here.

Usage:

Copy the Clarity Master Page.wsp to a location on a Web front-end computer.

Open a Command Prompt and change directories to %commonprogramfiles%\Microsoft Shared\Web Server Extensions\12\BIN\.

Run STSADM -o addsolution -filename "<path>\Clarity Master Page.wsp" and wait for the operation to complete.

Run STSADM -o deploysolution -name "Clarity Master Page.wsp" -immediate -force -allowGacDeployment and wait for the operation to complete.

Run STSADM -o execadmsvcjobs and wait for the operation to complete.

NOTE Existing site collections will not be affected and can be modified either through SPD or the SharePoint UI.

Newly created site collections and Webs will receive the Clarity master page.

Published Thursday, July 03, 2008 12:29 PM by William Baer
Filed under:

Comments

# Master Page Example

Thursday, July 03, 2008 6:23 PM by Microsoft SharePoint Bloggers
New Comments to this post are disabled
 
Page view tracker