Editing, updating, and deleting templates, About editing and updating templates – Adobe Dreamweaver CC 2015 User Manual
Page 494
487
Templates
Last updated 6/3/2015
2
Select File > Save As Template to save the new document as a nested template:
3
Enter a name in the Save As box and click OK.
Prevent an editable region from passing through to a nested template
In nested templates, pass-through editable regions have a blue border. You can insert template markup inside an
editable region so that it won’t pass through as an editable region in documents based on the nested template. Such
regions have an orange border instead of a blue border.
1
In Code view, locate the editable region you want to prevent from passing through.
Editable regions are defined by template comment tags.
2
Add the following code to the editable region code:
@@(" ")@@
This template code can be placed anywhere within the
tags that surround the editable region. For example:
@@("")@@ Editable 1
More Help topics
Server scripts in templates and template-based documents
Editing, updating, and deleting templates
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.