18. Creating Templates

What You’ll Do

Introduce Templates

Create a Template

Open a Template

Define Editable Regions

Define Editable Attributes

Create Repeating Regions

Create Optional Regions

Create Nested Templates

Create a Web Page from a Nested Template

Create a Web Page from a Custom Template

Update a Template

Attach or Detach a Template

Import XML into a Template

Export Template Data as XML

Introduction

A template is a common structure of a Web site design. Usually Web sites follow a standard structure, such as a header, a navigation bar and a footer that are common to all your pages. Now, imagine that your site has 50 pages. If you need to make one small change, for example adding a new link, you would need to go to each of those pages ...

Get Adobe Dreamweaver CS3 On Demand now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.