Working with Templates and Libraries in Dreamweaver MX 2004

by Jeremy Reis on Wednesday, November 29, 2006

Working with Templates and Libraries in Dreamweaver

What is a Template?

A template is a master document whose design you can apply to multiple pages. In Dreamweaver, templates contain non-editable regions that remain consistent among all the pages that use the template, in addition to editable regions, where content can change from page to page.

Templates allow you to create a page design once, and then create new pages that use that design. When you update the template, Dreamweaver updates all the documents you created based on the template.

Creating Templates

To create a template, you can begin with a new HTML document, or with an existing web page:

  1. In an open web page, lay out the design the other pages in your site will use.
  2. Add the content that you want to remain static across the site. For example, if you want a logo to appear at the top of all the web pages in your site, add it here.
  3. When you've finished, save the document as a template: from the File menu, select Save as Template.

The Save as Template dialog opens.

  1. Make sure the correct site appears in the Site drop-down menu.
  2. Enter a name into the Save As field.
  3. Click Save.

Note:

Dreamweaver templates are saved with the .dwt extension.

By default, Dreamweaver makes all the content non-editable. You need to define those regions that should be editable in the pages you base on the template:

  1. Place the cursor where you want to insert an editable region. For example, you can click inside a blank area of the page, or you can select a layer or a table cell.
  2. From the Insert menu, select Template Objects, and then Editable Region.

The New Editable Region dialog opens.

  1. Enter a name for the region and click OK.

A small blue border appears around the region.

  1. You can format the region using the Property Inspector by selecting a type style, size, color, or other attributes. When you a create a page based on the template, the text you enter in this region will automatically use the formatting you've defined.
  2. When you've finished defining the editable regions, save the template. If necessary, click Yes to update the links.
Page 54 of 60

Comments

 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
first web site
howdoi make a web site
355 out of 634 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Need this programm for me
Thanks
310 out of 563 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
my comment
it is very helpful for my groath.thanks sir.
287 out of 529 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Backgraound image
How do i make a background image in my web page with out it being repeated over and over again - Lydia
271 out of 490 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
TANX ALOT...
TANX ALOT... I'LL TRY THIS TUTORIAL SO THAT I CAN BE PRO IN DREAMWEAVER,,,, BUT IS THERE IS A VIDEO TUTORIAL... IT;S WILL MAKE ME EASY... LEARN WHILE WATCHING THE TUTORIAL... :)
263 out of 474 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
wasana
very good
240 out of 463 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thanx
It really helps me very much thank you once again
236 out of 438 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
comment
very good
270 out of 497 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
...
nice
233 out of 423 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
very nice
very nice
228 out of 422 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
coding
how make transfer for s students which score 150 above to choice of school
219 out of 403 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
camron
computer wooter hooter like gooder scooby dooby do where r u we need help from u dipset
228 out of 405 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
cool
this is awesome
201 out of 372 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
hes
my classmate
198 out of 358 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Ruler OF All
Shuffling is for fat crawling bags of phlegm
198 out of 368 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
view
i found all the articles in learthat very informative but it lacks some emphasis on using databases
178 out of 303 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
cool n keep it up
whateva you guys do is owesome,coz it helps the under previledged.thanx
164 out of 297 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Thanx
Thanx Macromedia Dreamweaver becomes easy for me
Thank u very much once again
158 out of 294 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
bravo!
this is unique information for web designers
136 out of 245 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
For Help
Thanks to learn to my First user
114 out of 211 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
I am cool
113 out of 200 people found this comment informative.
 Rate This Post:    Rate This Comment as Good Rate This Comment as Bad
Great tutorial!
Finally getting started with Dreamweaver. Discarded the big books, this is lots better! Thanks!!
99 out of 188 people found this comment informative.

Add a Comment to This Article

Anonymous (Please Login to Post With Your Account)

      
HTML not permitted, some code allowed in [brackets]:
[b]bold[/b] , [i]italicized[/i], [br] line break, other formatting...


Code Image - Please contact webmaster if you have problems seeing this image code Load New Code
Please enter the code above
 
Please submit your comment only once, some comments may be reviewed by moderators
That Network: Interactive Internet Publishing Network DefineThat.com: free technical definitions define wordsExamPractice.com: free certification news and practice exams   Explorestartups.com: find free business plans and business ideas   GiveThat.com: free gift ideas, birthday, Christmas, holidays  helpthat: got questions, we got answers   Jerm.com: entrepreneurship blog   learnthat.com: free software tutorials  mytutorials.com: collaborative write your own tutorials  Publishondemand.net: free publish on demand print on demand pod comparison   Romancetips.com: free romantic tips, advice, dating, date ideas, free romance   seekthat: free technical search engine   selfpublishthat: publish on demand   startupwatch: profiles of new companies   thatgear.com: gadget and electronic reviews   thatlead.com: sales leads and company profiles   tutorialguru.com: free tutorials