Site Management and Collaboration > Using the site map > Working with pages in the site map

 

Working with pages in the site map

When working in the site map, you can select pages, open a page for editing, add new pages to the site, create links between files, and change the page title.

To select multiple pages in the site map, do one of the following:

Press Shift-click to select multiple pages.
Starting from a blank part of the view, drag around a group of files to select them.
Press Control-click (Windows) or Command-click (Macintosh) to select nonadjacent pages.

To open a page for editing, do one of the following:

Double-click the file.
Select the file and choose File > Open Selection (Windows) or Site > Open (Macintosh).

To add an existing file to the site, do one of the following:

Drag a file from the Windows Explorer or the Macintosh Finder and drop it on a file in the site map. The page is added to the site, and a link is created between it and the file you dropped it on.
Select Site > Link to Existing File (Windows) or Site > Site Map View > Link to Existing File (Macintosh).

To create a new file and add a link:

1 Select an HTML file in the site map, then do one of the following:
Choose Site > Link to New File (Windows) or Site > Site Map View > Link to New File (Macintosh).
Choose Link to New File from the context menu.
2 In the File Name field of the Link to New File dialog box, type a file name.
3 In the Title field, type a page title for the file.
4 In the Text of Link field, type the text of the link that connects the selected file to the new file. The text and link appears in the selected file.
5 Click OK.
The file is saved in the same folder as the selected file. If a new file is added to a hidden branch, the new file is also hidden. See Showing and hiding site map files.

To modify the title of a page:

1 Make sure the Show Page Titles option is selected.
Choose View > Show Page Titles (Windows) or Site > Site Map View > Show Page Titles (Macintosh).
2 Do one of the following:
Select a page and then click the title. When the title becomes an editable field, enter a new document title.
Select a page and then choose File > Rename (Windows) or Site > Rename (Macintosh).

Note: When you work in the Site window, Dreamweaver automatically updates all links to files whose names have changed.

To change the home page, do one of the following:

In the Local Folder view of the Site Window, click the file you want to change to the home page and choose Set as Home Page from the context menu.
Select a file in the Site map, and choose Site > New Home Page (Windows) or Site > Site Map View > New Home Page (Macintosh) to create a new home page.
In the Local Folder view of the Site Window, click the file you want to change to the home page, and choose Site > Set as Home Page (Windows) or Site > Site Map View > Set as Home Page (Macintosh) to make an existing page the home page.
Choose Site > Define Sites and click Edit. Select Site Map Layout in the Site Definition dialog box.

To update the site map display after making changes:

1 Click anywhere in the site map to deselect any files.
2 Choose View > Refresh Local (Windows) or Site > Site Map View > Refresh Local (Macintosh).