Detach a document from a template, Editing content in a template-based document, About editing content in template-based documents – Adobe Dreamweaver CS3 User Manual
Page 421
DREAMWEAVER CS3
User Guide
414
•
Select Nowhere to remove the content from the document.
5
To move all unresolved content to the selected region, click Use For All.
6
Click OK to apply the template or click Cancel to cancel the application of the template to the document.
Important: When you apply a template to an existing document, the template replaces the document’s contents with the
template’s boilerplate content. Always backup a page’s contents before applying a template to it.
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
Select a destination for the content by using the Move Content to New Region menu to select one of the following:
•
Select a region in the new template to move the existing content to.
•
Select Nowhere to remove the content from the document.
5
To move all unresolved content to the selected region, click Use For All.
6
Click OK to apply the template or click Cancel to cancel the application of the template to the document.
Important: When you apply a template to an existing document, the template replaces the document’s contents with the
template’s boilerplate content. Always backup a page’s contents before applying a template to it.
Undo the template changes
❖
Select Edit > Undo Apply Template.
The document reverts to its state before the template was applied.
Detach 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.
1
Open the template-based document you want to detach.
2
Select Modify > Templates > Detach from Template.
The document is detached from the template and all template code is removed.
Editing content in a template-based document
About editing content in template-based documents
Dreamweaver templates specify regions that are locked (uneditable) and others that are editable for template-based
documents.
September 4, 2007