Design and Deploy web sites with Macromedia Dreamweaver MX 1002004 and Contribute 3 training from the source [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Design and Deploy web sites with Macromedia Dreamweaver MX 1002004 and Contribute 3 training from the source [Electronic resources] - نسخه متنی

Joseph Lowery

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




Establishing Sitewide Settings


As a Contribute administrator, it's within your control to set a series of far-reaching options. Although some of the choices are targeted to specific administrative concerns, such as setting the password, many of the decisions made in the Administer Website dialog box affect all Contribute users for your site.

In this exercise, you'll examine each of the available categories and make appropriate choices. After you're done, you'll experience one of the key features of Contribute enabled in this section: rollbacks.

Note

Make sure that you're in an Administrator role before beginning these steps.


1.

In Contribute, choose Edit > Administer Websites > DesignDeploy to open the Administer Website dialog box.

The initial category, Users and Roles, was covered in depth in Lesson 11. As you saw in that lesson, all aspects of managing users, assigning roles, and altering role settings are accessible from that category.

2.

Lessons 1011. This category of the Administer Website dialog box contains buttons to initiate these services when they are disabled. After these services are enabled, this category also contains links to the Publishing Services console for administrative tasks, and an option to edit the connection. Use this capability to change connections if your site moves to a different server or otherwise changes addresses.

4.

Switch to the Web Server category of the Administer Website dialog box. On the first tab, Web Addresses, click Add to insert a new alternate address for the site. In the Add or Edit Alternate Address dialog box, enter http://localhost/design_deploy_web/ in the available field; click OK when you're done. Select the Index Files tab. Choose the 103 entry and then click Up until your selection is the top entry in the list. Switch to the Guard Page tab and click Find Guard Page. When Contribute indicates that it has detected a valid guard page, click OK.

New entries can easily be added; when an entry is added, it's moved to the bottom of the list, and the Up button must be used to change its position. Any existing entry can be edited or removed.

The Guard Page tab ensures that administrative folders without an index page cannot be browsed and their contents viewed. When you browse to a folder without an index page, the contents of that folder are displayed in a hyperlinked directory listing; click an entry, and that file is opened in the browser or downloaded. To protect the two administrative folders, _mm and MMWIP, Contribute index filename, index, into eachwhich prevents these folders from being browsed. Clicking Find Guard Page verifies that these pages are in place.

5.

Click the Rollbacks category and then check the Enable Rollbacks option. Accept the default setting of 3 for the number of previous versions of each page.

[View full size image]

As noted earlier, the default encoding selection controls the character set of the page. Both this setting and the one determining the default file extension are applied to any new pages created after these options are altered. Contribute does not retroactively change the default encoding or file extensions of existing files.

7.

Click the Compatibility category and verify that the Compatibility Mode option is selected. Click Close when you're done to confirm all your settings and dismiss the Administer Website dialog box.

To make it possible for Contribute 3 to work with earlier versions of Contribute, Macromedia has included the Compatibility category. When the Transition Mode is selected, you can use Contribute 3 to administer the site, but only those users with Contribute 3 installed will be held to the administrative settings. Previous administrative settings still apply. If Compatibility Mode is selected, any users with older versions of Contribute are informed that their connection is no longer valid when they attempt to connect to the site, and asked to contact the administrator.

Let's take a look at the effect of enabling one sitewide administrative setting: rollbacks. To experience how rollbacks works, you'll first need to transfer the file from your Dreamweaver local site to the remote site.

8.

In the Dreamweaver Files panel, expand the depts folder first and then the nutrition folder. Select diet and then click Check In on the Files panel toolbar. When Dreamweaver asks whether you want to include dependent files, click Yes.

To see how the rollback feature works, you need to modify a published page.

9.

In Contribute, select Choose. In the Choose File on Website dialog box, expand first the file root, if necessary, and then the depts folder. Open the nutrition folder and then select diet. Click OK to open the file for browsing. Choose Edit Page.

Only those users whose roles include the option to publish pages can use the rollback feature. In our sample site, both Administrator and Publisher have that option, but Writer doesn't.

10.

Place your cursor between the second picture (the plate of food) and the placeholder text; press Enter (Return) to create a new paragraph. Press the left arrow key and enter the following heading: Diet for life…. From the Style list, choose Heading 4. Select the image tothe left of the newly added heading. From the Image toolbar, click Rotate Counterclockwise twice to turn the picture upside down. When you're done, click Publish; if Contribute displaysa congratulatory message, click OK.

After publishing this pageand because the rollback feature has been enabledContribute actually has stored two versions of the same page. As you'll see in the next step, both the change in the text and the change to the image are capable of being restored to the previous version.

11.

Choose File > Actions > Roll Back to Previous Version. When the Roll Back Page dialog box opens, select the just-saved entry; in the Preview area, scroll down to view the second paragraph to confirm that the original version is intact. Click Roll Back to restore the page. When the page opens, scroll down to the second paragraph to note the reversion.

[View full size image]

It's important to note that Contribute maintains previous versions of all changesincluding modifications to graphicsmade in Contribute. If an image is opened in an external graphics editor and altered, the previous version cannot be restored with the rollback feature. However, if you right-click the same image in Contribute, choose Edit in External Application, and then make your changes in the same graphics editor, the previous version is available to be restored.

To complete the demonstration of the rollback feature, bring back the changed page.

12.

Again, choose File > Actions > Roll Back to Previous Version. In the Roll Back Page dialog box, select the entry, verify that the new heading and rotated graphic are present, and click Roll Back. When the page opens, scroll down to see the restored revisions.

Obviously, the rollback feature is an extremely powerful one that can be invaluable. If you find that the initial number of rollbacks is not enough, you can increase the number at any time.


/ 129