Understanding template regions

Dreamweaver handles updates to editable and noneditable (locked) regions differently. Changes in the locked regions will be reflected in the updated pages, while changes in editable regions will not.

The only time that the template affects the content in the editable region of a template-based page is the first time the page is opened from the template (File > New from Template). After that point it is not possible to update the editable regions of this page globally. Doing so would erase the existing content in the editable region, so Dreamweaver does not allow it. To change this content in the editable region you must make the change in the page itself, rather than in the original template.

Content in templates will be either in a locked region or in an editable region. A locked region contains content that will always be written to pages based on the template. This region cannot be selected or changed in the page itself; it must be changed in the original template—thus the term "locked" is applied to noneditable regions. An editable region contains content that is editable in the pages based on this template. Due to this fundamental difference, the two regions work in different ways from one another:

Locked Regions:

Content in locked regions of a template will be written to all HTML pages based on this template.

Changes to content in locked regions of a template will prompt an update to HTML pages that use this template.

Once updated, HTML pages that use this template will show the content changed in the locked region of the template.

Editable regions:

Content in editable regions of a template will only be written to another HTML page once—when the new page is initially created.

Content in editable regions of a template will not be written when choosing Modify > Templates > Apply Template to Page. This means that the only way to write editable content to a page is to choose File > New from Template.

When pages are updated, locked regions will be updated but editable regions will not.