Unit 11. Using Dreamweaver Templates

Using the templates


The use of templates can be a bit complicated at the begining. We're going to see how to base a blank site in a template, the fact that it is empty makes it easier.

Once opened the file, you have to go to the Modify menu, Templates, Apply template to Page.

Before doing this, it's preferible to assure that the file opened in Dreamweaver is the same thatthe one we're going to work with and the same as the template is going to based on.

After clicking on the Apply option in Template to Page, you will see a window like the one at the right, in which you need to select one of the templates from the list of templates site.

It's recommended to activate the Update page when template changes option, in order to make the page automatically updated in case of modifying the template in which it's based.


Instead of being working on an empty file, its possible to apply a template over an existent file.

Then, when you apply the template, the names of no coincident regions between the existent document and the template will be displayed. In that case a window like this is shown.

In this window you have to establish a correspondance between the region name of the blank file and the region name of any template.

In this example, the blank file region which didn't coincide with any template region was the Document body region.

In the Move content to the new region the head region of the template has been selected in order to establish the needed correspondance.

After establishing the correspondance, the template is loaded in the blank file.

In this case that it is not possible to change the background color of the template, you can still change all the elements of the table and form, since they are in an editable template zone.

In this case you can change the font, the cells color, combine them, etc.

If you want a page to stop being based on a template, you have to go to the Modify menu, then the Templates option, and Separe template.

When you separate a page from a template, the page content would be still the same as when it was based on a template, but without the restrictions established by the template.


To practice the different elements you can perform the Step by step exercise in Creating a template

  Unit 11 Exercises

  Unit 11 Test

  Go to the previous page page Content  Go to the nex page  

Page. 11.3