Luckily, Dreamweaver has made it as easy to
delete the template indicators as it is to insert them. With a little know-how, you can remove template
markup from an editable attribute for an entire site.
Deleting template markup individually
Quite often I find I need to convert an editable region to a locked area. You can accomplish this change in
one of two ways??”you can delete the surrounding template tags in the code or you can use a Dreamweaver
command, Remove Template Markup. Personally, I find the command approach to be much faster and more
efficient. Individual template markup can only be removed from the template itself.
To remove any surrounding template code via the command, place your cursor within the template region
and choose Modify ??? Templates ??? Remove Template Markup. Alternatively, right-click (Control+click) and
choose Templates ??? Remove Template Markup.
The Remove Template Markup command works only on the template markup immediately enclosing the
cursor position. If, for example, you need to remove an editable optional region and convert the content to
being locked, you issue the Remove Template Markup command twice: once to remove the editable region
and again to remove the optional region.
Using the Remove Template Markup command to remove an optional region does not delete
the corresponding TemplateParam statement in the tag.
Pages:
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556