The last coarse says the role of the template, I want to use Dreamwaver's official explanation to take a look.
"
Dreamweaver Templates and libraries can help you create a web page with a consistent design. Using templates and libraries also make the site's maintenance easier, you can redesign your site in just a few seconds and modify the hundred thousands of pages. "
"
The template is a document that you can use to create multiple pages sharing the same layout. "
Several methods of creating a template:
1. Create a template from the existing HTML document
(1), first turn on the document
(2) After opening, select "File> Save As Template"
(3) After the next saved, you will jump to the editing mode of this template.
note:
If this page itself is template based on template, then the document and template will first need to be separated. Select "Modify> Template> Separate from the template". The page is separated from the template, all of which becomes editable.
2. Create a template (1) from a blank HTML document, select "Window> Template". The "Resource" panel appears, "Template" classification is selected.
(2) Click the "New Template" button in the bottom of the "Resource" panel. A new no title template will be added to the template list of the panel.
(3) When the template is still in the selected state, enter a name for the template.
3. Use the "Template" class of the "Resource" panel to create a new template (same method 2), "Resource" panel is shortcut to F11
want
Open the template for editing, just find the template in the site (shortcut F8), in the Templates folder in the site root directory, the file extension is .dwt. You can also find the template in the "Resource" panel, double click. When editing a web page, I suddenly want to change the style, you can also choose "Modify> Template> Open Additional Templates."
Although Dreamwaver 4.0 and Dreamwaver MX have a great difference, it is easy to understand, and it is easy to get started. Here is no longer awkward.
How to add the page to the template? There are also several ways, of course, open this page is necessary, then select one of the following methods:
(1) Click in the "Design" view of the "Document" window, then select "Modify> Template> Application Templates to Page". Select a template from the list and click "Selected".
(2) Select the template in the "Template" classification of the "Resource" panel, then click the "Apply" button.
(3) Drag the template in the "Design" view of the "Document" window from the "Template" classification of the "Resource" panel.
After modifying the template, as long as you save, there will be prompts. If you ask if you update the page, change your way, don't change yourself!
If
Update the current document from the template, you can choose "Modify> Template> Refresh Now". If you want to update the template of the entire website or update all the web pages attached to a particular template, please refer to the following steps:
1. Select "Modify> Template> Refresh Page". The "Update Page" dialog box appears.
2, the "Update Page" dialog is easy to understand, you need to explain that in the "View" pop-up menu, you can choose Out of Site, then select the site name from the adjacent pop-up menu. You can also select "File Use", then select the template name from the adjacent pop-up menu, which will update all the page using the selected template in the current site. 3, after confirming, click "Start" to OK. If you select the "Display Record" option, Dreamweaver will provide information that it tries to update, including information that is successfully updated. Very good, is it?
Time is almost, I don't have a system how to use templates, only focus on how to build and update. Thank you for your viewing. Next time I will tell the library file to specifically. (Because of personal habits, the webpage and document are agreed, you can interchange, give you the inconvenience caused, please forgive me!)