|
Sometimes you get partway through creating a page before it occurs to you that it would be better to make the page a template. Other times, you may have a page that someone else created, and you decide that you want to make it into a template. Either way, in Dreamweaver it's as easy to create a template from an existing page as it is to create a new one.
To save a page as a template, follow these steps:
Open the page that you want to turn into a template the same way that you open any other file in Dreamweaver.
Choose File, Save as Template.
Use the drop-down menu next to the Site text box to select a site.
The menu should list all the sites that you've defined in Dreamweaver.
In the Save As text box, type a name for the template.
Click the Save button in the top-right corner of the dialog box to save the file as a template.
Make any changes that you want and choose File, Save to save the page.
Notice that the file now has the .dwt extension, indicating that it's a template. You can now make changes to this template the same way you edit any other template.
Choose File, Close to close the file.
|