TIP 203: Changing References Across a SiteSometimes you need to change references throughout a site from one file to a different file. You can try to make these changes with complicated Find and Replace sequences, but Change References makes it easy with just a few clicks.
Select a file in the Files tab of the Site window that needs to be redirected and select Site > Change Links. The selected file is automatically added to the top field, so now all you have to do is tell GoLive what file you want to replace the links with. Use the Point and Shoot tool to locate the new file in the Site window and click OK when you're ready ( Figure 203a ). Figure 203a. Assign the new and old references and click OK.
Confirm the changes in the Change Links dialog (
Figure 203b
) and click OK. Kick back and watch as GoLive does all the heavy
Figure 203b. Confirm the site-wide link changes.
|
TIP 204: Using Find and Replace in a Document
Situation
: You've landed a job renovating the neglected Web site of a
Save yourself a lot of time by using Find and Replace to quickly handle these kinds of edits. The Find commands are found in the Edit menu. A number of sub-menu items are nested under Find: Find Text, Find Next, Find Previous, Find Selection, Enter Find String, Replace, Replace & Find
Figure 204. To run a Find operation on the active page, choose Top Document from the menu at the bottom of the Find Text window.
Toggle open the Options section to select options for your search:
Note To search for text, run the Find operation in the Layout, Source, or Outline Editor; to search for syntax, use the Source or Outline Editor. To replace the found text with different text, type the replacement into the Replace input box. With your options selected and replacement in place, you're ready to run the search. To begin, click the Find button. If a match is found, it will be highlighted on the page. Click Find Next to move on to the next instance or click Replace to replace the found item with what you have in the Replace input box. Click Replace & Find to both replace the found item and move on to the next instance. If you want to replace all found instances, click Replace All. |