Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
295
11
CHAPTER 11
Managing Templates
A Macromedia Dreamweaver 8 template is a special type of document that you use to design a 
“fixed” page layout; you can then create documents based on the template that inherit the 
page layout of the template. As you design a template, you specify which areas of documents 
based on that template users can edit. 
The chapter contains the following sections: 
About Dreamweaver templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
Creating a Dreamweaver template. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  308
Creating templates for a Contribute site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Creating editable regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Creating repeating regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  317
Using optional regions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  320
Defining editable tag attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .323
Creating a nested template  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .324
Editing and updating templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
Managing templates  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .329
Exporting and importing template XML content . . . . . . . . . . . . . . . . . . . . . . . . . . . .  330
Exporting a site without template markup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .332
Applying or removing a template from an existing document  . . . . . . . . . . . . . . . . .332
Editing content in a template-based document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .334
NOT
E
Templates enable you to control a large design area and reuse complete layouts. If you 
want to reuse individual design elements, such as a site’s copyright information or a logo, 
you can create library items. For more information, see