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.

134 Chapter 4 Creating and Modifying Web Pages<br />

Save<br />

6. Click OK to close the Web Part Zone Properties dialog box, and then on the<br />

Quick Access Toolbar, click Save.<br />

Note Now that OfficeFurniture contains a Web Part zone, you do not have to open the<br />

page in SharePoint Designer in advanced mode.<br />

CLEAN UP Leave SharePoint Designer open if you are continuing to the next exercise.<br />

Attaching a Master Page<br />

In the previous exercises, you created an ASP.NET page and added a Web Part zone to it,<br />

but it did not contain any SharePoint site navigation nor did it inherit any look and feel<br />

from the SharePoint site. You can envision the page you created as just the content page.<br />

It is not associated with a master page, which is the page that defines the common user<br />

interface and code. To attach a master page or to change a master page that a content<br />

page is associated with, you must open the page in advanced mode.<br />

Each site has one master page configured as the site’s master page, referred to by using<br />

the token ~masterurl/default.master, and then all pages associated with the site’s master<br />

page inherit the same look and feel. When a site is created, all pages created for the site<br />

point to the site’s master page by using this token. With SharePoint Designer, you can<br />

change the master page attached to a page. If a page is not attached to a master page,<br />

you can attach the page to the site’s master page or attach the page to a specific master<br />

page, such as v4.master.<br />

See Also Changing the default master page is described in Chapter 11, “Working with Master<br />

Pages.”

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

Saved successfully!

Ooh no, something went wrong!