TIP 19 Moving, Renaming, and Deleting Files


TIP 19 Moving, Renaming, and Deleting Files

If you move a file to a new place on your hard drive outside of GoLive, you'll end up with broken links, missing images, and heartburn. Instead, manage all the assets in your Web site from the Files tab of the Site window, and GoLive will handle all the dirty work for you. As long as you manage the files from the Site window, GoLive will update all the hyperlinks and references inside HTML, CSS, JavaScript Actions, PDF, QuickTime, and SWF for you. This even works with third-party actions and extensions!

Navigating the Site Window

If you've opened a subfolder in your site and want to get back to the top of your site, click the up arrow button in the top left corner.


Moving

To move a file, drag it into the folder where you want to put it. To move a file up a level in the file structure, drag the file on top of another file at the same level you want to move to, as seen in Figure 19a.

Figure 19a. Drag a file over another file to move it to that level.


You can also use the Edit > Copy and the Edit > Paste commands to copy and paste files from one folder to another.

Renaming

To rename a file in the Files tab of the Site window, click on the filename, wait a second, and then click again until the filename (but not the extension) is highlighted. Now type the new filename and press Return or Enter. Notice you can also rename files and folders in the Name field of the Inspector.

When you move or rename a file or folder that is referenced by another file in the site, you'll see a confirmation dialog (Figure 19b). When you're ready to confirm the change, click OK and watch GoLive automagically update your entire site for you.

Figure 19b. When you move or rename a file or folder, GoLive makes sure all your links are correct.


Make a Mistake?

Have you ever moved a file into the wrong folder? Made a typo? Accidentally deleted a file? If so, then you'll love the fact that GoLive's Site window gives you 20 levels of undo. Just hit Command-Z (Mac) or Control-Z (Windows), and GoLive will undo the most recent file manipulation and all the site management to make sure everything's back in order.


Deleting

To delete a file or folder in the Files tab, select it and click the trashcan icon in the toolbar (Figure 19c). You can also delete selected files with the keyboard by pressing Command-Delete on the Mac or Delete on Windows. When you delete files, you'll see a dialog asking you to confirm the change. Even after you delete the files, you can always retrieve them from the Site Trash over in the Extras tab of the Site window.

Figure 19c. Click the trashcan icon in the toolbar to delete selected files.




    Adobe GoLive CS2 Tips and Tricks The 250 Best
    Adobe GoLive CS2 Tips and Tricks The 250 Best
    ISBN: B008CMGJS0
    EAN: N/A
    Year: 2005
    Pages: 301

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