Edit content in a template-based document in Dreamweaver, modify template properties, and use repeating region entries.
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.
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.
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).
Modify an editable tag attribute
Select Edit > Template Properties.
The Template Properties dialog box opens, showing a list of available properties. The dialog box shows optional regions and editable tag attributes.
The bottom area of the dialog box updates to show the selected property’s label and its assigned value.
The field name and updateable values are defined in the template. Attributes that do not appear in the Name list are not editable in the template-based document.
Modify optional region template parameters
Select Edit > Template Properties.
The Template Properties dialog box opens, showing a list of available properties. The dialog box shows optional regions and editable tag attributes.
The dialog box updates to show the selected property’s label and its assigned value.
The field name and default setting are defined in the template,.
Add, delete, and change the order of a repeating region entry
Use repeating region controls to add, delete, or change the order of entries in template-based documents. When you add a repeating region entry, a copy of the entire repeating region is added. To update the content in the repeating regions, the original template must include an editable region in the repeating region.
Add, delete, or change the order of a repeating region
Click the Plus (+) button to add a repeating region entry below the currently selected entry.
Click the Minus (–) button to delete the selected repeating region entry.
Click the Down Arrow button to move the selected entry down one position.
Click the Up Arrow button to move the selected entry up one position.
Alternatively, you can select Modify > Template, then select one of the repeating entry options near the bottom of the context menu. You can use this menu to insert a new repeating entry or move the selected entry’s position.
Cut, copy, and delete entries
To cut a repeating entry, select Edit > Repeating Entries > Cut Repeating Entries.
To copy a repeating entry, select Edit > Repeating Entries > Copy Repeating Entries.
To remove a repeating entry, select Edit > Repeating Entries > Delete Repeating Entries.
To paste a repeating entry, select Edit > Paste.
Pasting inserts a new entry; it does not replace an existing entry.
Build beautiful websites in Dreamweaver
Design, code, and manage dynamic websites in a powerful all-in-one tool.