Inserting an editable region
Before you insert an editable region, you should save the document you are working in as a template (see Creating a Dreamweaver template).
NOTE
|
|
If you insert an editable region in a document rather than a template file, Dreamweaver warns you that the document will automatically be saved as a template.
|
You can place an editable region anywhere in your page, but consider the following if you are making a table or a layer editable:
- You can mark an entire table or an individual table cell as editable, but you cant mark multiple table cells as a single editable region. If a
<td>
tag is selected, the editable region includes the region around the cell; if not, the editable region affects only content inside the cell.
- Layers and layer content are separate elements; making a layer editable lets you change the position of the layer as well as its contents, but making a layers contents editable lets you change only the content of the layer, not its position.
To insert an editable template region:
- In the Document window, do one of the following to select the region:
- Select the text or content that you want to set as an editable region.
- Place the insertion point where you want to insert an editable region.
- Do one of the following to insert an editable region:
- Select Insert > Template Objects > Editable Region.
- Right-click (Windows) or Control-click (Macintosh), then select Templates > New Editable Region.
- In the Common category of the Insert bar, click the arrow on the Templates button, then select Editable Region.
The Editable Region dialog box appears.
- In the Name text box, enter a unique name for the region. (You cannot use the same name for more than one editable region in a particular template.)
NOTE
|
|
Do not use special characters in the Name text box.
|
- Click OK.
The editable region is enclosed in a highlighted rectangular outline in the template, using the highlighting color that is set in preferences. A tab at the upper-left corner of the region shows the name of the region. If you insert an empty editable region in the document, the name of the region also appears inside the region.
NOTE
|
|
For information about setting template highlighting options, see Setting highlighting preferences for template regions.
|
Related topics
- Selecting editable regions
- Removing an editable region
- Changing an editable regions name