O'Reilly logo

Dreamweaver 8: The Missing Manual by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Template Tutorial

In this tutorial, you'll create a template for the Horoscopes section of the National Exasperator site. Then you'll build a page based on that template and enjoy an easy site-wide update courtesy of Dreamweaver's templates feature.

Note

The tutorial in this chapter requires the example files from this book's Web site, www.sawmac.com/dw8/. Click the Tutorials link to go to the tutorials page. Then click the "Chapter 17: Templates Tutorial" link to download the files.

After your browser downloads and decompresses the files, you should have a DWTemp (short for Dreamweaver Templates) folder on your computer, containing the Web pages and graphics you need for this tutorial. If you're having difficulties, the Web site contains detailed instructions for downloading the files you'll be using with this book.

Creating a Template

This tutorial guides you through the creation of a template, the creation of a page based on that template, and then an editing and auto-update procedure.

These instructions assume that you've downloaded the necessary tutorial files, as described in the previous note, and defined a site using the DWTemp folder as your local root folder (for information on defining a site, see Section 1.3.2 and Section 13.1.1):

  1. Open the Site window by pressing the F8 key.

    Of course, if it was already open, you just closed it. Press F8 again.

  2. In the Site window, find and double-click the page horoscope.html .

    It's usually easier to start with an already-designed Web page and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required