Editing, updating, and deleting templates – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 531

Editing, updating, and deleting templates
About editing and updating templates
Open a template for editing
Rename a template
Change a template description
Manually update documents based on templates
Update templates in a Contribute site
Delete a template file
Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the options described in this
article in Dreamweaver CC and later. For more information, see
.
About editing and updating templates
When you make changes to and save a template, all the documents based on the template are updated. You can also manually update a
template-based document or the entire site if necessary.
Note: To edit a template for a Contribute site, you must use Dreamweaver; you cannot edit templates in Contribute.
Use the Templates category of the Assets panel to manage existing templates, including renaming template files and deleting template files.
You can perform the following template management tasks with the Assets panel:
Create a template
Edit and update templates
Apply or remove a template from an existing document
Dreamweaver checks template syntax when you save a template but it’s a good idea to manually check the template syntax while you’re editing a
template.
Open a template for editing
You can open a template file directly for editing, or you can open a template-based document, then open the attached template for editing.
When you make a change to a template, Dreamweaver prompts you to update the documents based on the template.
Note: You can also manually update the documents for template changes if necessary.
Open and edit a template file
1. In the Assets panel (Window > Assets), select the Templates category on the left side of the panel
.
The Assets panel lists all of the available templates for your site and displays a preview of the selected template.
2. In the list of available templates, do one of the following:
Double-click the name of the template you want to edit.
Select a template to edit, then click the Edit button
at the bottom of the Assets panel.
3. Modify the contents of the template.
To modify the template’s page properties, select Modify > Page Properties. (Documents based on a template inherit the template’s
page properties.)
4. Save the template. Dreamweaver prompts you to update pages based on the template.
5. Click Update to update all documents based on the modified template; click Don’t Update if you don’t want to update documents based on
the modified template.
Dreamweaver displays a log indicating the files that were updated.
Open and modify the template attached to the current document
1. Open the template-based document in the Document window.
2. Do one of the following:
Select Modify > Templates > Open Attached Template.
524