Справочник Пользователя для Macromedia dreamweaver 8-using dreamweaver

Скачать
Страница из 1030
328
Chapter 11:  Managing Templates
To apply template changes to the current template-based document:
1.
Open the document in the Document window. 
2.
Select Modify > Templates > Update Current Page. 
Dreamweaver updates the document with any template changes.
To update the entire site or all documents that use a specified template:
1.
Select Modify > Templates > Update Pages. 
The Update Pages dialog box appears.
2.
Complete the dialog box, then click Start.
For more information, click the Help button in the dialog box. 
Dreamweaver updates the files as indicated. If you selected the Show Log option, 
Dreamweaver provides information about the files it attempts to update, including 
information on whether they were updated successfully.
3.
Click Close to close the dialog box.
Related topics
“Checking template syntax” on page 329
Updating templates in a Contribute site
Contribute users can’t make changes to a Dreamweaver template. You can, however, use 
Dreamweaver to change a template for a Contribute site
The following are important factors to keep in mind when updating templates in a 
Contribute site:
Contribute retrieves new and changed templates from the site only when Contribute starts 
up and when a Contribute user changes their connection information. If you make 
changes to a template while a Contribute user is editing a file based on that template, the 
user won’t see the changes to the template until they restart Contribute.
If you remove an editable region from a template, a Contribute user editing a page based 
on that template might be confused about what to do with the content that was in that 
editable region.
To edit a template in a Contribute site:
1.
Edit the template using Dreamweaver. 
For more information, see 
2.
Tell all of the Contribute users who are working on the site to exit Contribute and restart it.