Managing templates

Managing templates

Use the Templates category of the Assets panel to manage existing templates, including renaming template files and deleting template files.

To rename a template in the Assets panel:

  1. In the Assets panel (Window > Assets), select the Templates category on the left side of the panel.This is a picture of the feature being described.
  2. Click the name of the template to select it.
  3. Click the name again so that the text is selectable, then enter a new name.

    This method of renaming works in the same way as renaming a file in Windows Explorer (Windows) or the Finder (Macintosh). As with Windows Explorer and the Finder, be sure to pause briefly between clicks. Do not double-click the name, because that opens the template for editing.

  4. Click in another area of the Asset panel, or press Enter (Windows) or Return (Macintosh) for the change to take effect.

    Dreamweaver asks if you want to update documents that are based on this template.

  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.

To delete a template file:

  1. In the Assets panel (Window > Assets), select the Templates category on the left side of the panel.This is a picture of the feature being described.
  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.This is a picture of the feature being described.

    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 Detaching a document from a template.

Related topics

  • Creating a Dreamweaver template
  • Applying or removing a template from an existing document
  • Editing and updating templates


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Laying Out Pages with CSS
Managing Templates
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly