Updating Template-Based Pages

Team-Fly    

Macromedia® DreamWeaver® MX Unleashed
By Matthew Pizzi, Zak Ruvalcaba
Table of Contents
Chapter 8.  Dreamweaver Templates


One of the most impressive and powerful features of templates is the link that a template-based template shares with the template stored in the Assets panel.

Anytime that you make a change to the template page and save it, all templates that are created based on that template are automatically updated. You can even manually update pages by choosing Modify, Templates, Update. This can save a tremendous amount of time.

To update pages based on templates, follow these steps:

  1. Open the template by double-clicking it in the Assets panel.

  2. Make any changes in the template that you want to update. When you're done, choose File, Save. This automatically updates all template-based documents.

  3. You can perform an update manually and receive feedback about the documents that have been updated by choosing Modify, Template, Update Pages. This opens the Update Pages dialog box shown in Figure 8.13.

  4. Choose Site from the drop-down menu labeled Look In. In the next drop-down menu, choose the site in which you want to update the documents. Make sure the Show Log option is checked. When you click the Start button, the bottom portion of the dialog box offers information about the documents that have been updated.

Detach from Template Command

You may run into a situation where you created a new document and applied a template to it. In this document, you don't want it to be updated when the template is changed. This is possible if you break the link between the template-based page and the template. You can accomplish this by using the Detach from Template command. Choose Modify, Template, Detach from Template to remove the template from the page. This effectively breaks the link between the current document and the template.


    Team-Fly    
    Top


    Macromedia Dreamweaver MX Unleashed
    Macromedia Dreamweaver MX 2004 Unleashed
    ISBN: 0672326310
    EAN: 2147483647
    Year: 2002
    Pages: 321

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net