Macromedia dreamweaver 8-using dreamweaver User Manual
296
Chapter 11: Managing Templates
About Dreamweaver templates
A template author designs a “fixed” page layout in a template. The author then creates regions
in the template that are editable in documents based on that template; if the author does not
define a region as editable, then template users cannot edit content in that area. Templates
enable template authors to control which page elements template users—such as writers,
graphic artists, or other web developers—can edit. There are several types of template regions
the template author can include in a document.
in the template that are editable in documents based on that template; if the author does not
define a region as editable, then template users cannot edit content in that area. Templates
enable template authors to control which page elements template users—such as writers,
graphic artists, or other web developers—can edit. There are several types of template regions
the template author can include in a document.
One of the most powerful uses of templates is the ability to update multiple pages at once. A
document that is created from a template remains connected to that template (unless you
detach the document later). You can modify a template and immediately update the design in
all documents based on it.
document that is created from a template remains connected to that template (unless you
detach the document later). You can modify a template and immediately update the design in
all documents based on it.
Related topics
■
Types of template regions
Dreamweaver automatically locks most regions of a document when you save the document
as a template. As a template author you specify which regions of a template-based document
will be editable by inserting editable regions or editable parameters in the template.
as a template. As a template author you specify which regions of a template-based document
will be editable by inserting editable regions or editable parameters in the template.
As you create the template, you can make changes to both editable and locked regions. In a
document based on the template, however, a template user can make changes only in the
editable regions; the locked regions can’t be modified.
document based on the template, however, a template user can make changes only in the
editable regions; the locked regions can’t be modified.
There are four types of template regions:
An editable region
is an unlocked region in a template-based document—a section a
template user can edit. A template author can specify any area of a template as editable. For a
template to be effective, it should contain at least one editable region; otherwise, pages based
on the template can’t be edited. For information about inserting an editable region, see
template to be effective, it should contain at least one editable region; otherwise, pages based
on the template can’t be edited. For information about inserting an editable region, see
.
A repeating region
is a section of the layout in a document that is set to repeat. For example,
you can set a table row to repeat. Usually repeating sections are editable so that the template
user can edit the content in the repeating element, while the design itself is under the control
of the template author. The template user uses repeat region control options to add or delete
copies of the repeated region in a document based on the template as necessary.
user can edit the content in the repeating element, while the design itself is under the control
of the template author. The template user uses repeat region control options to add or delete
copies of the repeated region in a document based on the template as necessary.