Although web developers are more than willing to allow users and clients to maintain their own content, the last thing they want them to do is mess around with the site's style and layout. Because Contribute 3 uses the power of the Dreamweaver MX 2004 authoring engine, it fully supports CSS, XHTML, server-side code, and Dreamweaver MX 2004 templates.
Web developer do not want Contribute users inadvertently to delete any scripting code, whether client-side or server-side. Contribute users are therefore restricted by default from deleting or altering script tags, server-side includes, form tags and form elements, and code tags such as ColdFusion, ASP, ASP.NET, JSP, and PHP.
If you find that you need to allow some users the right to modify this type of code, do the following:
Contribute 3 shares the same rendering engine as that found in Dreamweaver MX 2004, giving you the flexibility of creating advanced CSS-based layout that Contribute users can view and edit. However, Macromedia understands that you do not want to expose any of your CSS rules that control page layout or cater unnecessarily to many of the cross-browser compatibility issues that go hand in hand with creating CSS-P pages. Therefore, with Contribute 3 you can create individual style sheets that users in each of your user roles can view and apply to editable content.
To limit the number of styles available to users:
Select the following options:
Click OK to apply the changes.
Note: Designers and developers still have the flexibility to hide CSS rules using the mmhide syntax. However, due to a bug in Netscape, the "_" (underscore) is no longer necessary.
Dreamweaver users can take advantage of Design Time Style Sheets and integrate them with pages that Contribute users view. Contribute 3 supports both Design Time Style Sheets in template instances and non-template pages.
Note: With Design Time Style Sheets, Dreamweaver users can create CSS styles that appear to Contribute users only when they edit a document. For example, you could use a Design Time Style Sheet to provide additional information in Edit mode on how documents should be authored or edited.
As a developer, when you create pages for your Contribute users, you can take advantage of the many template tools available in Dreamweaver MX 2004, such as optional regions, editable attributes, and nested templates.
Contribute users can create pages based on Dreamweaver MX 2004 templates you provide them by selecting the Templates category in the New Page dialog box (see Figure 5).
Figure 5. Selecting a new page in Contribute based on an existing template
When Macromedia Contribute users create a new page that's based on a template containing optional regions or editable attributes, they see the message shown in Figure 6.
Figure 6. Notification of the existence of optional regions or editable attributes
Clicking the Template Properties link in this message displays the Template Properties dialog box, which allows Contribute users to show or hide the optional region or edit an item's attributes (see Figure 7).
Figure 7. Setting a template's properties
This feature means that not only can you allow your Contribute users to edit existing pages but you can let them create new pages based on your templates. This ensures they can help drive the site forward without any fear of them compromising your carefully crafted design.