Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
Applying or removing a template from an existing document
333
To apply a template to an existing document using the Assets panel:
1.
Open the document you want to apply the template to.
2.
In the Assets panel (Window > Assets), select the Templates category on the left side of 
the panel.
3.
Do one of the following:
Drag the template you want to apply from the Assets panel to the Document window.
Select the template you want to apply, then click the Apply button at the bottom of 
the Assets panel.
If content exists in the document that can’t be automatically assigned to a template region, 
the Inconsistent Region Names dialog box appears.
4.
If you have unresolved content, select a destination for the content, then click OK.
For information about moving existing content to editable regions in the document, see 
Resolving inconsistent region names in Using Dreamweaver
To apply a template to an existing document from the Document window:
1.
Open the document you want to apply the template to.
2.
Select Modify > Templates > Apply Template to Page. 
The Select Template dialog box appears.
3.
Choose a template from the list, then click Select.
If content exists in the document that can’t be automatically assigned to a template region, 
the Inconsistent Region Names dialog box appears.
4.
If you have unresolved content, select a destination for the content, then click OK.
For information about moving existing content to editable regions in the document, see 
Resolving inconsistent region names in Using Dreamweaver
To undo the template changes:
Select Edit > Undo Apply Template.
The document reverts to its state before the template was applied.
Detaching a document from a template
To make changes to the locked regions of a document based on a template, you must detach 
the document from the template. When the document is detached, the entire document 
becomes editable.