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:
Edit the template using Dreamweaver.
1
For more information, see
Tell all of the Contribute users who are working on the site to exit Contribute and restart it.
2
Checking template syntax
Dreamweaver automatically checks the template syntax when you save a template, but you can
manually check the template syntax prior to saving a template. For example, if you add a template
parameter or expression in Code view, you can check that the code follows correct syntax.
To check for valid template syntax:
Open the document you want to check in the Document window.
1
Select Modify > Templates > Check Template Syntax.
2
An error message appears if the syntax is badly formed. The error message describes the error and
refers to the specific line in the code where the error exists.
Related topics
•
"Template tag syntax" on page 220
•
"Template expressions" on page 224
244
Chapter 11: Managing Templates
"Opening a template for editing" on page
242.
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers