Posts

Showing posts from December, 2010

Branding MOSS 2007 Application Pages

Based on research, there are 3 ways to brand the application pages. Backup all your layouts folder file into another folder (i.e. LayoutsBackup). Change the files (i.e. application.master) in the layouts folder to satisfy your branding. [This is recommeded by Microsoft] Create a brand new layouts folder (i.e. customLayouts) and change the IIS site settings for the SharePoint web application to point to the new customLayouts folder. Use a HttpModule to change the application page master page reference. For more details, refer here . Below is a simple HTTP Module that does it using System.Web; using Microsoft.SharePoint; using System.Web.UI; namespace Aymhi.MOSS.HttpModules { public class SharePointAppPageMasterPageModule : IHttpModule { public void Dispose() { throw new NotImplementedException(); } public void Init(HttpApplication context) { context.PreRequestHandlerExecute += new EventHandler(context_PreRequestHand...