Updating Templates to Make Automatic Sitewide ChangesYou've seen that templates are very easy to work with and, at the same time, are very powerful. But now, with a template up and running and controlling a few pages in your site, you're ready to see their real power. After you see this, you'll never build web sites without templates againit's that cool! You're about to see what happens when you open your original template and make a few changes to it (maybe you're changing some formatting, setting some hyperlinks, or adjusting some formatting). When you save your template, Dreamweaver will ask you if you want to update the pages that the template controls. When you update your pages, like magic, they change to reflect the modifications that you made in your template while also retaining the content that you placed in their editable regions. The results are totally amazingand totally easy to achieve. And, of course, you can make changes to your template and update your site whenever you want. When you update your pages, they change to reflect the modifications that you made in your template while also retaining the content that you placed in their editable regions. When you want to update your template, you should first close any pages driven by that template that are open in Dreamweaver. If you leave pages open, you may run into problemscheck out the sidebar "Save Yourself a HeadacheClose Your Pages Before You Update." Here's how to update your template:
|