If you attempt to create a document from a template at this
stage, Dreamweaver alerts you that the template doesn??™t have any editable regions, and you cannot change
anything on the page. Editable regions are a key element in templates.
Marking existing content as editable
Editable regions can either surround existing content or stand alone without any content. As noted earlier,
in both cases you must give the region a unique name. Dreamweaver uses the unique name to identify the
editable region when entering new content, applying the template, and exporting or importing XML.
As I noted previously, each editable region must have a unique name, but the name need only
be different from any other editable region on the same page. The same name could be used
for objects, JavaScript functions, or editable regions on a different template.
To mark an existing area as an editable region, follow these steps:
1. Select the text, object, or area on the page that you want to convert to an editable region.
The general rule with editable regions is that you need to select a complete tag pair, such as
. This strategy has several implications. For instance, although you can
mark an entire table, one or more contiguous rows, or a single cell as editable, you can??™t mark multiple cells,
separated rows, or a column.
Pages:
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499