869
IN THIS CHAPTER
Working with templates
Building your own templates
Working with editable and
locked regions
Dreamweaver Technique:
Converting a Page to a Template
Setting up repeating regions
Dreamweaver Technique:
Applying Additional Editable
Regions
Inserting optional regions
Creating nested templates
Evaluating template expressions
Modifying the default Web page
Using Dreamweaver
Templates
Dreamweaver templates, in terms of functionality, are a combination of traditional templates and updatable
Library elements. After a new page is created from a template, the document remains attached to the original
template unless specifically separated or detached. The new document maintains a connection to previous
pages in a site. If the original template is altered, all the documents created from it can be automatically
updated. This relationship is also true of Dreamweaver??™s repeating element Libraries. In fact, templates can
include Library elements.
Library items work hand-in-hand with templates. See Chapter 29 for a detailed discussion of
Library items.
When a template is first created, the entire page is locked; locked sections of a template cannot be changed
in a document derived from that template. A key process in defining a template is to designate certain areas
as regions that can be changed in some way in a template-derived document.
Pages:
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494