Checking Files In and Out


When Check In/Check Out is enabled for your site and you use the Check Out button at the top of the Files panel, Dreamweaver checks to see if anyone else is currently working on the file. If someone else has the file checked out, Dreamweaver displays a dialog asking if you want to override that check out ( Figure 16.15 ). In general, it's a bad idea to do so, because it could lead to exactly the problems with multiple people working on the file that you want to avoid.

Figure 16.15. If someone else has already checked out a file, Dreamweaver lets you know and asks what you want to do.


To check out a file for editing:

1.
In the Files panel, from the Site pop-up menu, choose the site that contains the file you want to check out ( Figure 16.16 ).

Figure 16.16. You'll check files in and out with the toolbar in the Files panel.


The site must have Check In/Check Out enabled.

2.
Click the Connect to Remote Site button.

Dreamweaver connects to the remote site.

3.
Choose the file (or files) you want to check out from the Files panel.

4.
Click the Check Out button in the Files panel toolbar.

The Dependent Files dialog appears ( Figure 16.17 ).

Figure 16.17. You can choose whether or not to download dependent files. If they haven't changed, don't bother.


5.
If you need to also edit the dependent files, such as images or external style sheets, click Yes. In most cases, however, you will click No.

Dreamweaver transfers the selected files, and puts green checkmarks next to the files in both the Local Files and the Remote Site views in the Files panel.

6.
Make the changes you want to the checked out files.

To check in a file to the remote server:

1.
In the Files panel, select the checked out file or files.

2.
Click the Check In button in the Files panel toolbar.

If the files you're checking in have not been saved, Dreamweaver prompts you to save them. After you save the files, Dreamweaver removes the green checkmarks from the files in the Files panel.

Tips

  • You can have Dreamweaver automatically save unsaved files before checking them in by enabling the "Save files before putting " option in the Site category in Dreamweaver's Preferences.

  • If you save and close a file without checking it in, the copy of the file on the remote site will not be updated. You should always check a file in when you are done working with it.





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net