#48 Creating Template Pages

The central concept in creating and using template pages is that they include editable and noneditable regions. Noneditable template page regions are parts of the page that are defined in the template; they can only be edited in the template file. Once they are edited, they apply to all pages with which the template is associated.

Let’s explore a typical template page. The page might have a banner across the top, a navigation bar on the left, and a copyright/navigation bar at the bottom. The template defines these elements. A region in the middle of the page could function as an editable region and would have different content on every page on the site (Figure 48a).

Figure 48a A page template with space for editable ...

Get Adobe® Dreamweaver® CS4 How-Tos: 100 Essential Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.