Editing Site Definitions

Editing Site Definitions

Once you have created your site definitions, you might need to change them. For example, you might want to change the location of the local root folder, or you may change the path on the remote server. You'll use the Site Definition dialog, but this time we'll use the Advanced tab to get things done a bit faster.

To change a site definition:


Choose Site > Manage Sites.

The Manage Sites dialog appears.


Select the site you want, then click Edit.

The Site Definition dialog appears.


If necessary, click the Advanced tab.

The dialog changes to the Advanced mode ( Figure 2.12 ).

Figure 2.12. It's faster to edit site definitions in the Advanced tab of the Site Definition dialog.


Choose the category on the left side of the dialog for the kind of change you want to make.

The right side of the dialog changes to show the options for the category you chose.


Make the changes you need to make.


Click OK.

Working with the Files Panel

To work with the files and folders that make up your Web sites, you'll use Dreamweaver's Files panel. This panel allows you to add and delete files and folders; view and change the local or remote sites; and do other maintenance tasks for your sites.

The Files panel appears at the right side of the Dreamweaver window, docked with other panels. By default, the Files panel is at the bottom of the group of panels. The panel consists of a couple of pop-up menus , a toolbar, and the files area below ( Figure 2.13 ).

Figure 2.13. The Files panel will be your command center for working with files in Dreamweaver.

Navigating Disks and Sites

The Browse pop-up menu at the top of the Files panel allows you to browse through your hard disk, and easily switch between sites that you have defined. The menu looks a bit different on Windows and Mac, reflecting the differences between the operating systems ( Figure 2.14 ). On both platforms, sites you have defined appear in the menu as folders.

Figure 2.14. The Browse menu in the Files panel reflects the differences in the Windows (left) and Mac (right) operating systems.

To browse your hard disk:


In the Files panel, choose the disk you want from the Browse pop-up menu.

The disk's contents appear in the files area ( Figure 2.15 ).

Figure 2.15. If you choose your hard disk from the Browse pop-up menu, you can then navigate to any file or folder on the disk.


Navigate to the folder and file that you want.

To switch between defined sites:

  • In the Files panel, choose the site from the Browse pop-up menu.

Switching Between Local and Remote Views

The File view pop-up menu, next to the Browse pop-up menu, allows you to switch the view in the Files panel between the local and remote sites.

To switch between local and remote views:


Choose a site you have defined from the Browse pop-up menu.

The site's local files appear in the files area, and the File view pop-up menu switches to Local view.


From the File view pop-up menu, choose Remote view ( Figure 2.16 ).

Figure 2.16. To see the files on the remote site, choose Remote view from the File view pop-up menu.

Dreamweaver will connect to the site (you can tell because the Connect/Disconnect button in the Files panel toolbar will highlight), and the remote Files will appear in the files area.


  • The File view pop-up menu has two other choices: Testing server and Map view . We won't be discussing Testing server in this book, but you'll find an explanation of Map view in Chapter 16.