1 / 8

How to create & use Dreamweaver Templates

How to create & use Dreamweaver Templates. Creating a Dreamweaver Template. A template is a common structure or layout of a web site that most of your web pages use. 25 pages + no template = making changes to 25 pages.

ssears
Download Presentation

How to create & use Dreamweaver Templates

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to create & use Dreamweaver Templates

  2. Creating a Dreamweaver Template • A template is a common structure or layout of a web site that most of your web pages use. • 25 pages + no template = making changes to 25 pages. • 25 pages + template = make the change once on the template and all the pages get updated automatically.

  3. Creating a Dreamweaver Template Step 1: Make a web page as usual with the basic structure of the site. This will be the layout for future pages so do not add any unique content (such as pictures & text)Step 2: Once you have created the structure go to File and click on Save As Template, give a name to the template and click on Save.

  4. Creating a Dreamweaver Template Step 3: Notice the file name now ends with .dwt (stands for Dreamweaver template) . The template file is automatically saved under a folder called templates (You can create as many layouts as you need).Step 4: You will now need to make parts of the template editable. This is essentially a placeholder for unique content. This placeholder is known as an editable region.

  5. Creating a Dreamweaver Template Step 6: To make an area editable you need your cursor to be in that location, then go to Insert > Template Objects > Editable Region.

  6. Using a Dreamweaver Template Step 1: To use the template on a new page all you need to do is: Modify > Template > Apply Template to page Step 2: A window will pop up saying “Choose editable region for orphaned content”, choose the editable region that you want the content to go into & click OK. You will see that the template is in yellow & can’t be changed. The only region that is editable is the region you have specified in the template.

  7. Updating a Dreamweaver Template Step 1: Any changes that you need to make in the basic structure of the site, you need to do in the Template. So go ahead and make the changes and click on save. Step 2: If you have applied the Template to any of your pages you will get a window asking “Update Templates used in the following files”?You must click on Update. If you click on Don't Update, none of the pages using the Template will get updated.

  8. Review ofDreamweaver Templates • To Create: • - File > Save As Template > Save • - Add editable region(s) • To Use: • - Modify > Template > Apply Template to page • Choose editable region for unique content • To Update: • Open template file: edit and save • Choose “Update” on the pop-up menu

More Related