• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 6. Managing Your Site > Modifying Pages from the Site Window

Modifying Pages from the Site Window

As you view pages in the site map and move the pointer over the pages, you'll see information about each page in the status area (bottom-left corner) of the Site window. One piece of information is the title of the page. If you forgot to title the page or want to change the title, you can do so in the Site window.

1.
In the site map, place the pointer over biking.htm.

The status area shows that the document is untitled. Make sure that you roll over the file name, not the file icon. The title won't appear in the status area unless the pointer is over a file name.

2.
Choose View > Show Page Titles (Windows) or Site > Site Map > Show Page Titles (Macintosh) to see page titles instead of file names in the site map.

The list is regenerated to display the files by title.

3.
Click the page title “Untitled Document” to select it. Pause, and then click the title again.

A rectangle is placed around the title to indicate that it can be edited. Don't double-click; you don't want to open the file. You just need to select the title so you can edit it.

4.
Type Mountain Biking as the new title and press Enter (Windows) or Return (Macintosh).

The site map shows the new title.

NOTE

You can also open a page for editing from either the site map or the site files list by double-clicking the file in either the site-map pane or the Local Folder pane.

5.
Choose View > Show Page Titles (Windows) or Site > Site Map > Show Page Titles (Macintosh) to switch the view from titles back to file names. In the Local Folder pane of the Site window, select trips.htm.

The file name is highlighted.

NOTE

When you need to change the name of one of your files, you should change the name in the Site window to preserve the link information maintained by Dreamweaver. If you change the file name of either a HTML file or graphics file outside Dreamweaver, Dreamweaver has no way to track your changes. If you make the change within the Site window, Dreamweaver updates all pages that link to the file or contain the graphic.

6.
Click the file name.

A rectangle appears around the name, indicating that it can be edited.

7.
Change the file name to na_trips.htm and press Enter (Windows) or Return (Macintosh).

The Update Files dialog box opens, listing all the files affected by this name change.

8.
Click Update to update the files with the new file path.

The site map and files list now show the new file names.

NOTE

Dreamweaver opens each file in the list, makes the change, and then closes the file. If a file in the list is open, Dreamweaver makes the change but does not save or close the file.

9.
In the Local Folder pane of the Site window, open the Biking_Images folder in Lesson_06_Sites.

Only one image, downhill.jpg, is in the folder. If a file or folder is not in its proper place, you can move the file or folder to its correct location. Making this change in the Site window ensures that all the link information remains correct and intact.

10.
Drag the downhill.jpg image's icon to the Images folder, located just below the Biking Images folder.

Any files that use this image will be affected by the move; you will need to fix the path to the image. The Update Files dialog box opens, asking whether affected files should be updated.

11.
Click Update to keep the link to this graphic correct.

The graphic moves to the Images folder, and any references to it in the HTML files are still working.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint