08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Copying and Saving a Master Page 377<br />

Copying and Saving a Master Page<br />

In SharePoint Designer, master pages can be located by using the Master Page option<br />

on the Navigation pane. Their actual location in a site is in the _catalogs folder in the<br />

masterpage (Master Page Gallery) library, which you can navigate to by using the All Files<br />

gallery or the mini-gallery. This master page library is hidden from the browser’s All Site<br />

Content page, but you can display it by using the Master Page link on the site settings<br />

page.<br />

On publishing sites, two master page content types, Master Page and Publishing Master<br />

Page, are added to the Master Page Gallery library so that it can contain both default<br />

master pages and custom master pages. On nonpublishing sites, such as a team site, only<br />

the Master Page content type is included.<br />

On SharePoint Foundation, versioning is enabled on the Master Page Gallery library, and<br />

all visitors to the site have read access to allow the combined master page and content<br />

page to be displayed in the browser. On SharePoint Server sites, the master page library<br />

has major and minor versioning enabled, content approval is enabled, and check out is<br />

required. These settings mean that you can modify master pages and restore a previous<br />

version if you find errors in your modifications. On a SharePoint Server site, you can<br />

make modifications to your master page and publish the master page as a major version<br />

only when those modifications are correct.<br />

Changes to the master page that is set as the default master page cascade down to all<br />

pages that are associated with the site’s default master page. If you do not have your<br />

own site and are working on a team site that other members of your team have access<br />

to, making modifications to a site’s default master page might not be acceptable, especially<br />

if your modifications contain so many errors that no content page will render in the<br />

browser.<br />

The preferred method for modifying a default master page is to create a customized<br />

master page and set it as the master page for one content page. When you have tested<br />

your modifications by displaying that content page, you can then set your customized<br />

master page as the site’s default page.<br />

A customized master page can be created in several ways. You can create a new master<br />

page by using the Blank Master Page or From Content Type command on the Master<br />

Page tab, or you can copy a master page and customize it to meet your needs. If modifying<br />

the existing default master page seems overwhelming, you can use a starter master<br />

page. Starting with the site’s default master page (v4.master) or using a starter master<br />

page is the best option because these pages will already meet most of your needs.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!