Opening a template for editing

Opening a template for editing

You can open a template file directly for editing, or you can open a template-based document, then open the attached template for editing.

When you make a change to a template, Dreamweaver prompts you to update the documents based on the template.

To open and edit 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.

    The Assets panel lists all of the available templates for your site and displays a preview of the selected template.

  2. In the list of available templates, do one of the following:
    • Double-click the name of the template you want to edit.
    • Select a template to edit, then click the Edit button at the bottom of the Assets panel.This is a picture of the feature being described.

    The template opens in the Document window.

  3. Modify the content of the template as desired.
  4. Save the template.

    Dreamweaver prompts you to update pages based on the template.

  5. Click Update to update all documents based on the modified template; click Don’t Update if you don’t want to update documents based on the modified template.

    Dreamweaver displays a log indicating the files that were updated.

To open and modify the template attached to the current document:

  1. Open the template-based document in the Document window.
  2. Do one of the following:
    • Select Modify > Templates > Open Attached Template.
    • Right-click (Windows) or Control-click (Macintosh), then select Templates > Open Attached Template.
  3. Modify the content of the template as desired.
  4. Save the template.

    Dreamweaver prompts you to update pages based on the template.

  5. Click Update to update all documents based on the modified template; click Don’t Update if you don’t want to update documents based on the modified template.

    Dreamweaver displays a log indicating the files that were updated.

Related topics

  • Manually updating documents that are based on templates
  • Updating templates in a Contribute site
  • Checking template syntax


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