Operation Manual

67
USING DREAMWEAVER
Creating and Managing Files
Last updated 3/28/2012
Return to the source code of the main document
Click the Source Code button in the Related Files toolbar.
Change the display of related files
You can view related files in a number of ways:
When you open a related file from Design view or Code and Design views (Split view), the related file displays in a
split view above the Design view of the main document.
You can select View > Design View on Top if you want the related file to display at the bottom of the Document
window instead.
When you open a related file from vertically split Code and Design views (View > Split vertically), the related file
displays in a split view alongside the Design view of the main document.
You can select or deselect Design View on Left (View > Design View on Left), depending on where you want the
Design view.
When you open a related file from Split Code view or Vertical Split Code view (View > Split Code view, and View >
Split vertically), the related file displays in a split view beneath, above, or alongside the source code for the main
document, depending on the options you have selected.
The “code view” in the display option refers to the source code of the main document. For example, if you select
View
> Code View on Top, Dreamweaver displays the source code of the main document in the top half of the
Document window. If you select View
> Code View on Left, Dreamweaver displays the source code of the main
document on the left side of the Document window.
Standard Code view does not let you display related Documents at the same time as the main document’s source code.
Disable related files
1 Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
2 In the General category, deselect Enable Related Files.
More Help topics
Switch between views in the Document window” on page 16
Navigate to related code” on page 296
Previewing pages in Dreamweaver” on page 272
Related files tutorial
Open Dynamically-Related Files
The Dynamically-Related Files feature extends the functionality of the Related Files feature by allowing you to see the
related files of dynamic pages in the Related Files toolbar. Specifically, the Dynamically-Related Files feature lets you
see the numerous dynamic includes that are required to generate the runtime code for popular open-source PHP
Content Management System (CMS) frameworks such as WordPress, Drupal and Joomla!.
To use the Dynamically-Related Files feature, you must have access to a local or remote PHP application server
running WordPress, Drupal, or Joomla!. One common approach for testing pages is to set up a localhost PHP
application server, and test the pages locally.