Macromedia Contribute operates on the principle that there is a central person (or group of people) responsible for managing and maintaining an organization's website. Because many of these central people—known as Contribute administrators—are also web developers, Macromedia has included all of the Contribute administration features directly within the Dreamweaver MX 2004 workspace.
There are two ways you can administer a Contribute site in Dreamweaver MX 2004:
You connect to an existing Contribute site the same way you would any other Dreamweaver site:
If you are connecting to a remote site that isn't on your local hard disk or a share on your LAN, click the Connect button on the Files panel. If the site has already been configured for Contribute users, Dreamweaver will display the message in Figure 1.
Figure 1. Message confirming a Contribute-enabled site's compatibility with Dreamweaver
If your remote site is located on your local hard disk or is a shared folder on your local network, then do the following:
To create Contribute administration settings for a new site:
Enable Check In and Out.
Checking out a file from the remote server locks the file so that no other member of the web team can work on it. Contribute 3 checks the status of files that users browse. If User A checks out a file and User B attempts to edit it, Contribute displays a message in the status bar (see Figure 2) and User B's Edit Page button is disabled, making it impossible for User B to overwrite the page accidentally.
Figure 2. Status bar message alerting to a file's checked-out status
Once User A finishes working on the file and publishes it to the site (by "checking it in" to the server), user B's Edit Page button becomes active within a few seconds (depending on connection speed), enabling the person to edit the page in the Contribute browser.
After you enter all relevant remote server details, select the Contribute category and click the Enable Contribute Compatibility option (see Figure 3).
Figure 3. Configuring a Dreamweaver site's compatibility with Contribute
Click the Test button to verify that Dreamweaver MX 2004 can locate the remote server you want to connect to.
If the test is not successful, make sure you entered a valid path to your host directory or remote folder in the Remote Info category. If you are connecting to your web server using FTP, ensure that you are using the correct login and password. In the Contribute category, make sure the site root's URL is valid.
Clicking the Administer Website button in the Site Definition dialog box will notify you that there currently isn't a Contribute administrator for the site and prompt you if you wish to assume this role. Click Yes. Dreamweaver will request that you enter and confirm your Contribute administrator's password. Once this step is completed, you will see the Administer Website dialog box (see Figure 4).
Figure 4. Administer Website dialog box
Macromedia Contribute 3 lets you define a set of user permissions that range from file access to the level of typographic control as a role. You can read more about this in my article about the Contribute 3 Administrative Controls.
The Administration category of the Administer Websites dialog box enables you to perform global administrative tasks. The first option is to change the e-mail address that content providers use to contact the website administrator for assistance. You can also set the administrator password, which is required to select the Administrator role in the Connection wizard. Finally, remove all the Contribute sitewide settings, users, and roles for this website.
Depending on the how your web server is configured and the complexity of your website, you may need to provide Contribute 3 with additional configuration details.
The Web Server category in the Administer Website dialog box shows three tabs:
Note: If your server does not use a standard file-naming convention such as index.html, default.html, and so on, you will be prompted to enter a valid guard page.
The Rollbacks category helps you maintain and recover previous versions of pages that Contribute users edit on a website. Macromedia Contribute 3 can maintain up to 99 rollback versions of each published page. When you specify the number of rollbacks, however, it is important to consider the amount of disk space that will be consumed on the remote web server:
There are two places where the Contribute administrator can fine-tune the creation of new pages by Contribute users. The first is in the New Pages category of the Administer Website dialog box. Here you can specify the default document encoding (for new blank pages and starter pages only) and default file suffix extension:
The second place is in the Users and Roles category of the Administer Website dialog box. Here you can specify the types of documents users can create. You can also define which Dreamweaver templates Contribute users can see and use:
In the Allow Users To section, choose any of the following options:
In the Use Dreamweaver Templates section, choose from the following options:
The Compatibility category lets you provide editing and publishing access to older versions of Contribute. With this option you can ensure that only those features that Contribute 3 shares with previous versions will work. However, it is important to note that you cannot enable compatibility between older versions of Contribute and sites that utilize Contribute Publishing Services to manage and authenticate users.
Here are the options: