Prabagarane

Hi

i have some master page's in my master page folder and alos i created my own master page. now i need to create a page using the page layout. so while i create a page layout i need to set the different different master Page.. if suppose i create two page laytous and using the page its shows two different look and feell ...

So how to set the master page for the Page layout.. while i create a new page using the layout means . the was displayed as i master Page look and feel..

how to create a page layout using differnt master page.. please any one help to solve the issuee

Thanks in advance




Re: SharePoint - Design and Customization Chaning MasterPage for Page Layouts

rick postmus

You can make a new page in sharepoint and edit the masterpage url in sharepoint designer or download the new page and edit the url of the masterpage with a editor like sharepoint designer.

<%@ Page language="C#" MasterPageFile="_catalogs/masterpage/custom.master"






Re: SharePoint - Design and Customization Chaning MasterPage for Page Layouts

Prabagarane

hi

i opend the layout page in sharepoiint designer and modify the <%Page tag as masterpageurl="mycusteom.master" > after that i saved .. But if i create a new using the layouts means it point the default master of the site.. Please help to solve its very very urgent




Re: SharePoint - Design and Customization Chaning MasterPage for Page Layouts

rick postmus

So you want that if you make a new page lay-out the default.master url automatticly changes to a custom.master url

Dunno how this can be done, I like to see if someone else knows how this can be done. I problaby need it to in the near future.




Re: SharePoint - Design and Customization Chaning MasterPage for Page Layouts

Karthik_Mascon

Replace the page directive in the Page layout with the following.

<%@ Page language="VB" MasterPageFile="BlackSingleLevel.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=11.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %>

This would allow associating custom master pages and would not change even if the default master page is different than the one that is associated with the layout.

karthik.