Creating a nested template – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 520
Creating a nested template
About nested templates
Create a nested template
Prevent an editable region from passing through to a nested template
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 nested templates
A nested template is a template whose design and editable regions are based on another template. Nested templates are useful for controlling
content in pages of a site that share many design elements, but have a few variations between pages. For example, a base template might contain
broader design areas and be usable by many content contributors for a site, while a nested template might further define the editable regions in
pages for a specific section in a site.
Editable regions in a base template are passed through to the nested template, and remain editable in pages created from a nested template
unless new template regions are inserted in these regions.
Changes to a base template are automatically updated in templates based on the base template, and in all template-based documents that are
based on the main and nested templates.
In the following example, the template trioHome contains three editable regions, named Body, NavBar, and Footer:
To create a nested template, a new document based on the template was created and then saved as a template and named TrioNested. In the
nested template, two editable regions have been added in the editable region named Body.
513