|
| People | Departments | Search UMD |
| |
A template allows the combination of redundant items to be used easily over and over again. The server-side includes for header and footer, and the library object for the navigational links are part of my Dreamweaver Management Tools workshop template. When I created this page (and all the others) I called up the template I created and stuck the content in it. Everything else was already there.
So what? I could also do that using the "Save As..." command and a generic page. This is true, but when I make a change to the template I can update any page that was created with that template automatically. Try that the other way!
If you're not convinced, how about applying a template to an existing page? That's right! Delete the stuff you don't want on your current page, apply the template and you're done.
Still not enough? I can also mark sections of the template as being uneditable, meaning I can't accidentally erase the redundant stuff unless I go back to the original template and change the item.
Let's make a template using the ssi and library object created earlier.
By default, everything in a template is uneditable except for the page title. To make a region editable, it needs to be selected first.
You should now see
{Content}
in your page. This will be an editable region in any page made from this template, and the ssi and library object will not be editable.
Other regions may also be created to suit your design layout.
Try editing the highlighted areas. If all is working well, you can't.
To see how this is done, open the file "ApplyToMe.html" from the example web site folder.
Dreamweaver will prompt you for where you want your existing content to go. You get 3 guesses!
When you're ready, move on to "Find and Replace."
| Did you find what you were looking for? YES NO | |
| ©2003 Regents of the University of Minnesota. All rights reserved.
The University of Minnesota is an equal opportunity educator and employer. Last modified on 04/22/02 | Contact ITSS | Privacy |