Operation Manual

393
USING DREAMWEAVER
Creating and managing templates
Last updated 3/28/2012
Note: You cannot convert a template file (.dwt) to a normal file by simply resaving the template file as an HTML (.html)
file. Doing so does not delete the template code that appears throughout the document. If you want to convert a template
file to a normal file, you can save the document as a normal HTML file, but must then manually delete all of the template
code in Code view.
1 Open the template-based document you want to detach.
2 Select Modify > Templates > Detach from Template.
The document is detached from the template and all template code is removed.
Editing content in a template-based document
About editing content in template-based documents
Dreamweaver templates specify regions that are locked (uneditable) and others that are editable for template-based
documents.
In pages based on templates, template users can edit content in editable regions only. You can easily identify and select
editable regions to edit content. Template users cannot edit content in locked regions.
Note: If you try to edit a locked region in a document based on a template when highlighting is turned off, the mouse
pointer changes to indicate that you can’t click in a
locked region.
Template users can also modify properties and edit entries for a repeating region in template-based documents.
More Help topics
Create a page based on an existing template” on page 61
About Dreamweaver templates” on page 366
Select editable regions” on page 378
Modify template properties
When template authors create parameters in a template, documents based on the template automatically inherit the
parameters and their initial value settings. A template user can update editable tag attributes and other template
parameters (such as optional region settings).
More Help topics
Template parameters” on page 368
Using optional regions in templates” on page 381
Defining editable tag attributes in templates” on page 383
Modify an editable tag attribute
1 Open the template-based document.
2 Select Modify > Template Properties.
The Template Properties dialog box opens, showing a list of available properties. The dialog box shows optional
regions and editable tag attributes.