Chapter 28

Using Dreamweaver Templates

In This Chapter

  • Working with templates
  • Building your own templates
  • Working with editable and locked regions
  • Dreamweaver Technique: Converting a Page to a Template
  • Setting up repeating regions
  • Dreamweaver Technique: Applying Additional Editable Regions
  • Inserting optional regions
  • Creating nested templates
  • Evaluating template expressions
  • Modifying the default web page
  • Managing InContext Editing

Let’s face it: Web design is a combination of glory and grunt work. Creating the initial design for a website can be fun and exciting, but when you have to implement your wonderful new design on 200 or more pages, the excitement fades as you try to figure out the quickest way to finish the work. Enter templates. Using templates properly can be a tremendous time-saver. Moreover, a template ensures that your website has a consistent look and feel, which, in turn, generally means that it’s easier for users to navigate.

In Dreamweaver, you can produce new documents from a standard design saved as a template, just as you do in a word processing program. Furthermore, you can alter a template and update all the files that were created from it earlier; this capability extends the power of the repeating element Libraries to overall page design. Templates also form the bridge to one of the key technologies shaping the web—Extensible Markup Language (XML).

Dreamweaver now also works with a different kind of template, one that allows your clients to edit their ...

Get Dreamweaver CS6 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.