
Chapter 16
382
To define existing template content as an editable region:
1
In the template file, select the text or content you want to change to an
editable region.
2
Do one of the following:
•
Choose Modify > Templates > New Editable Region.
•
Right-click (Windows) or Control-click (Macintosh) the selected text, and
choose New Editable Region from the context menu.
3
In the New Editable Region dialog box, enter a unique name for the region.
(You cannot use the same name for more than one editable region in a
particular template.)
The editable region is enclosed in a highlighted rectangular outline in the
template, using the highlighting color set in preferences. A tab at the upper left
corner of the region shows the name of the region.
You can mark an entire table or an individual table cell as editable; however,
you can’t mark multiple table cells as a single editable region. Note that
Dreamweaver does not distinguish between marking a table cell as editable and
marking the contents of the cell as editable.
Layers and layer content are separate elements; making a layer editable lets you
change the position of the layer as well as its contents, while making a layer’s
contents editable lets you change only the content of the layer, not its position.
To select the layer’s content, click in the layer and choose Edit > Select All; to
select the layer itself, make sure invisible elements are showing, then click the
icon representing the location of the layer. For more information about layers,
see “Using Dynamic Layers” on page 407.
Note:
If you’ve made a layer’s contents editable, and you later want to also make its
position editable, you must remove the editable region around the contents before you
can mark the layer itself as editable. See “Locking an editable region” on page 387.
To insert an empty editable region in a template:
1
In the template, place the insertion point where you want to insert an
editable region.
2
Choose Modify > Templates > New Editable Region.
3
In the New Editable Region dialog box, enter a name for the region.
The region name, surrounded by braces (
{}
), is inserted into the template as a
placeholder, enclosed in a rectangular outline of the appropriate highlight color.
When you apply the template to a document, you can then select the braces
and region name and replace them with text, images, or other content.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...