16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

880 Part IX: Maintaining a Server in Windows SharePoint Services<br />

pages that have a header, navigational area, footer, <strong>and</strong> page title in them that the<br />

users cannot edit, but also open a large portion of the page for editing. This gives the<br />

Web developer control over the formatting on the page <strong>and</strong> prevents the user from<br />

accidentally removing or changing the page header, footer, or navigation, yet it gives<br />

the content owner freedom to create <strong>and</strong> edit his own content on the page.<br />

Control of editable portions of Web pages is determined by the use of a Dynamic<br />

Web Template (DWT). DWTs can be thought of as page templates with definitions for<br />

editable regions that stay attached to pages even after they are created.<br />

For example, you could create a DWT that is attached to 30 pages on your site,<br />

<strong>and</strong> if you wanted to change a section of the footer on all those pages, you would<br />

change it one time on the DWT <strong>and</strong> it would automatically update the footer on all<br />

30 pages. Because you can have more than one DWT in a site, you could have some<br />

pages attached to one DWT, some pages attached to another DWT, <strong>and</strong> some pages<br />

unattached <strong>and</strong> therefore freely editable.<br />

To create a DWT<br />

F32XR25<br />

1. Using FrontPage 2003, create the DWT. DWT pages are simply Web pages, so<br />

start with whatever page design you like. If you want to apply the home page<br />

look <strong>and</strong> navigation to other pages on your site, you can start with the<br />

default.aspx page <strong>and</strong> then remove the content you do not want on every page.<br />

2. Name the page with a .dwt file extension. If the left-h<strong>and</strong> navigation is<br />

included on the DWT, each page will include the link bars that are on the<br />

home page. Any time one of the link bars changes, the link bars will automatically<br />

be updated on all the pages that use them.<br />

3. Specify which region of the page you would like to be editable by authorized<br />

FrontPage 2003 users. You do this by selecting the area you want to designate<br />

as editable, clicking Dynamic Web Template on the Format menu, <strong>and</strong> then<br />

clicking Manage Editable Regions, which opens the Editable Regions dialog<br />

box. (See Figure 32-25.)<br />

Figure 32-25 Editable Regions dialog box

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

Saved successfully!

Ooh no, something went wrong!