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.

Creating a Web Page from a Master Page 391<br />

15. In the breadcrumb, click Test-Page.aspx to display the page’s settings page. On<br />

the Page tab, click Check In in the Manage group. Click OK to close the Check In<br />

dialog box that appears.<br />

In the Site Pages mini-gallery, a blue information circle appears to the left of Test-<br />

Page.aspx.<br />

16. Press F12 to open the page in a browser.<br />

Test-Page.aspx opens in the browser with a message that the page has been customized<br />

from its template. The Recently Modified region in the Quick Launch bar<br />

is not displayed, nor does the list of footer pages appear at the bottom of the page.<br />

17. In the Quick Launch bar, click Site Pages.<br />

The All Pages view of the Site Pages library is displayed. The Recently Modified region<br />

and the list of footer pages appear on the page.<br />

CLEAN UP Check in v4-test.master. Close your browser and all pages open in the<br />

document windows. If you are continuing to the next exercise, be sure to leave<br />

SharePoint Designer open.<br />

Creating a Web Page from a Master Page<br />

You can use several different methods to create an ASP.NET page within SharePoint<br />

Designer. However, because the page will be part of a SharePoint site, you will most<br />

likely want to keep the same navigation elements and the look and feel of other pages.<br />

You achieve this by linking the content page with a master page. Earlier in this chapter,<br />

you created an ASP.NET page by copying an existing page (Home.aspx). This page was<br />

associated with a master page.<br />

When you create your own master page and want to test the master page in the browser,<br />

you must attach it to a content page and display the content page in the browser.<br />

However, you do not want to associate all content pages within your site to your new<br />

master page until you have completed your modifications. Creating a new content page<br />

is a quick way of creating a content page and associating it with a master page in one<br />

step. When you complete your new master page, you can then assign it as the site’s master<br />

page, and all pages associated with the site’s master page will inherit the same structure<br />

and look and feel.

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

Saved successfully!

Ooh no, something went wrong!