How Page Layouts Work with Master Pages

Chapter 13 demonstrates the process of detaching and reattaching master pages to Wiki and Web Part pages in SharePoint Designer and shows you how to change the master page association on a single page, irrespective of the site’s master page setting. However, you cannot change the master page for a single page layout. Page layouts dynamically reference the site master page based on the CustomMasterUrl property of the SPWeb class. When working with page layouts in SharePoint Designer, the Attach, Detach and Open commands in the ribbon’s Master Page group (Style tab) are disabled. The Site Master Page setting in the Web interface (shown in Figure 15.52) effects all publishing pages (those pages that inherit ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.