Macromedia dreamweaver 8-using dreamweaver Manuel D’Utilisation
330
Chapter 11: Managing Templates
5.
To update all documents in the site that are based on this template, click Update. To not
update any documents that are based on this template, click Don’t Update.
update any documents that are based on this template, click Don’t Update.
To delete a template file:
1.
In the Assets panel (Window > Assets), select the Templates category on the left side of
the panel.
the panel.
2.
Click the name of the template to select it.
3.
Click the Delete button at the bottom of the panel, then confirm that you want to delete
the template.
the template.
Documents that are based on a deleted template are not detached from the template; they
retain the structure and editable regions that the template file had before it was deleted.
To turn such a document into a normal HTML file without editable or locked regions,
see
retain the structure and editable regions that the template file had before it was deleted.
To turn such a document into a normal HTML file without editable or locked regions,
see
.
Related topics
■
■
■
Exporting and importing template XML
content
content
You can think of a document based on a template as containing data represented by name/
value pairs. Each pair consists of the name of an editable region, and the contents of that
region.
value pairs. Each pair consists of the name of an editable region, and the contents of that
region.
Dreamweaver lets you export the name/value pairs into an XML file so that you can work
with the data outside of Dreamweaver (for example, in an XML editor or a text editor, or a
database application). Conversely, if you have an XML document that’s structured
appropriately, you can import the data from it into a document based on a Dreamweaver
template.
with the data outside of Dreamweaver (for example, in an XML editor or a text editor, or a
database application). Conversely, if you have an XML document that’s structured
appropriately, you can import the data from it into a document based on a Dreamweaver
template.
CAU
T
ION
Once you delete a template file, you can’t retrieve it. The template file is deleted from
your site.
your site.