Dreamweaver Template

If your site is going to have more than a handful of pages, the chances are you need to create a template...

Overview

For most websites, all the pages look very similar, they all have the same background styles, header, menus, footers etc, infact, there is normally only one areawhich is different on each page - this is where the unique content for each page is writen.

Instead of creating the header, menu and footer etc on every page, we create a template.

Editable Regions

editable region editable region editable region

In this example, every page is the same, exept the area within the light blue box. This area is 'editable' and everything outside is locked

Advantages of Templates

When you create a new page, you can just start from a template, so all you do is create some content.
Also, if you decide to alter the menu for example, you edit the template, and all the pages that use that template update automatically.

Step 1. Define a dreamweaver site

Creating a dreamwaver site

Step 2. Create a simple template

File -> New -> HTML Temaplte

add some layout

create some editable regions

Step 3. Create some pages using the template

File -> New -> Page From Template -> Choose the template

Add your content and save

Step 4. Updating and enhancing the template

Open the template, make any changes, save. Watch the files update!