Tag Info

Hot answers tagged

1

Aside from any API calls, why not just modify the master pages to include some javascript that sets a variable telling which master it is Var master="masters?asps"


1

how you want to detect. there are couple of ways to check which master page is being used. if you don’t have the Publishing feature activated navigate to http://your_server.com/sites/examples/_Layouts/ChangeSiteMasterPage.aspx If you do have the Publishing feature enabled you can go to Master Page on the Site Settings page, under Look and Feel ...


1

You can change the masterpages with Powershell. Taken from this link: All pages, except for publishing pages (witch you do not have in Foundation) uses the system master. For system master page: $web = Get-SPWeb http://localhost/ $web.MasterUrl = "/_catalogs/masterpage/mymasterpagename.master" $web.Update() For publishing pages master page: Site ...


1

Well Pedro, while you are right that the master pages are used for different types of pages, you're a little off on which types of pages use which type of master page. Publishing pages in your publishing site will use the site master page that you specify. These are the pages that are stored in the Pages library of your site by default. Publishing pages use ...


1

If you are using Site Pages, you do not have the publishing infrastructure enabled, or the site level publishing features enabled. This created Pages in the Pages library, and these use the site master page. "site pages" are foundation based pages that only use the system master page. You can enable the publishing infrastructure assuming you are running ...


1

The Site Master Page set from the settings page affects (or limited to) publishing pages stored in Pages Library when the Publishing infrastructure is enabled or publishing site template is used. For pages stored in SitePages library, you may want to change the page declaration to use dynamic token as shown below <%@ Page Language="C#" ...


1

This is expected behavior: The Site Master Page, affects Publishing Pages (/Pages) The System Master Page, affects Wiki Pages (/SitePages) http://blogs.technet.com/b/stefan_gossner/archive/2011/04/13/site-master-page-vs-system-master-page.aspx



Only top voted, non community-wiki answers of a minimum length are eligible