HomeSite+ for Dreamweaver MX
for Windows 98, Windows ME,
Windows NT 4.0, Windows 2000,
and Windows XP
Macromedia® Incorporated
Copyright Notice
Copyright 2002 Macromedia, Inc. All rights reserved.
Macromedia, the Macromedia logo, ColdFusion, Dreamweaver, Flash, HomeSite,
JRun, Quick Tag Editor, Roundtrip, and what the web can be are trademarks or
registered trademarks of Macromedia, Inc. which may be registered in the United
States and internationally. Java and Solaris are trademarks of Sun Microsystems, Inc.
Microsoft, Windows, Windows NT, Windows 98, Windows ME, Windows XP, and
Windows 2000 are registered trademarks of Microsoft Corporation. UNIX is a
trademark of The Open Group. Other brand names may be trademarks or registered
trademarks of others.
This manual, as well as the software described in it, is furnished under license and
may be used or copied only in accordance with the terms of such license. The
content of this manual is furnished for informational use only, is subject to change
without notice, and should not be construed as a commitment by Macromedia Inc.
Macromedia Inc. assumes no responsibility or liability for any errors or inaccuracies
that may appear in this book.
Except as permitted by such license, no part of this publication may be reproduced,
stored in a retrieval system, or transmitted in any form or by any means, electronic,
mechanical, recording, or otherwise, without the prior written permission of
Macromedia Inc.
Using HomeSite+ for Dreamweaver MX is designed to familiarize you with the
product’s user interface and the productivity tools that you can use to quickly
develop high-quality applications and web content.
Contents
• Intended audience................................................................................................... xiv
• Developer resources................................................................................................. xiv
• About the documentation ....................................................................................... xvi
• Contacting Macromedia........................................................................................ xviii
• Copyright information............................................................................................. xix
xiv About This Book
Intended audience
This book is intended for professional web developers who have a working
knowledge of HTML and web server environments. It introduces you to the user
interface and development tools, and provides instructions for installing,
configuring, and using the product.
Developer resources
Macromedia Corporation is committed to setting the standard for customer support
in developer education, technical support, and professional services. Therefore, the
Macromedia web site provides a wealth of online resources.
This section also describes other resources available for HomeSite+ for
Dreamweaver MX developers.
Macromedia website
The Macromedia website is designed to give you quick access to the entire range of
online resources, as described in the following table:
ResourceDescriptionURL
Macromedia website General information about Macromedia
products and services
Product informationDetailed product information on Macromedia
products and related topics
Technical supportMacromedia HomeSite Support Center with
links to many support services
Search the repository of technical articles on
Macromedia products
Installation support Support for installation-related issues for all
Macromedia products
Support forumsOnline access to experienced developers
and Macromedia support staff, where you
can post messages and read replies on
subjects relating to HomeSite+ for
Dreamweaver MX features
Developer CenterAll the resources that you need to stay
current in your skills, including online
discussion groups, Knowledge Base,
technical papers and more
Browser testing sitesLinks to websites that provide online testing
services, as browser compatibility is still an
important issue for website developers.
Professional education Information about developer certification
and the classes, on-site training, and online
courses offered by Macromedia
Macromedia alliancesConnection with the growing network of
solution providers, application developers,
resellers, and hosting services that create
solutions with Macromedia products
www.macromedia.com/support/
training/
www.macromedia.com/partners/
ColdFusion web resources
Following are just a few of the many sites dedicated to ColdFusion Markup Language
(CFML) development:
• CF Advisor Online at http://www.cfadvisor.com/api-shl/
engine.cfmwww.cfadvisor.com/api-shl/engine.cfm/a.
• Haznet’s Fallout shelter, a CF portal, at http://www.hudziak.com/haznet/
cfml.htmlwww.hudziak.com/haznet/cfml.html/a.
• ColdFusion Developer’s Journal, an online version of the popular print journal, at
http://www.sys-con.com/coldfusion/index2.cfmwww.sys-con.com/coldfusion/
index2.cfm/a.
Tutorials
The World Wide Web Consortium (W3C) at www.W3Schools.com offers free web
tutorials.
xvi About This Book
About the documentation
The documentation is designed to provide support for the complete spectrum of
participants. The print and online versions are organized to allow you to quickly
locate the information that you need. The online documentation is provided in
HTML and Adobe Acrobat formats.
You can also access release notes, product support information, and several
developer resources from the Help menu.
The rest of this section describes the conventions used in the documentation and the
contents of the HomeSite+ for Dreamweaver MX documentation set.
Documentation conventions
When reading the documentation, note formatting cues, as described in the
following table:
Typ e o f
informationConvention
Code sampleSet in a
Levels to access
a dialog box or
pane
Book titles and
emphasized text
New termsSet in boldface
Separated by the greater than sign (>), and the path is set in bold.
Following are two examples:
• “Select File > New” means “Select New from the File menu.”
• “Select Options > Settings > Editor > Auto Completion”
Set in italics
monospaced font
means “Select Settings from the Options menu. In the Settings
dialog box, expand the Editor node and select Auto Completion.”
Viewing online documentation
You can view Help for a specific tag, Help topics in HTML format, or online
documentation in Adobe Acrobat (PDF) format.
To view Help for a tag:
• Position the cursor in a tag and press F1 or right-click and select Edit Tag. Help for
the selected tag appears, including syntax and usage information.
F1 Help is available for all supported languages. To view a list of the supported
languages, open Tag Chooser (Ctrl+E).
About the documentationxvii
To view the online HTML Help:
1 Select Help > Open Help References Window.
The Help tab of the Resources window appears, displaying a tree of online books
that includes several language references, as well as the documentation.
2 Find the Help topic you need, using the tree, search engine, index, or bookmarks.
For details, see “Getting the most from the online Help system” on page 35.
3 Double-click a topic to display it in the Document window.
To view the PDF documentation:
Open the PDF documentation from the product CD-ROM or download it from the
HomeSite+ for Dreamweaver MX section of the Macromedia website.
Printing online documentation
You can print one Help topic at a time in the HTML Help, or print as many pages of
the Help as you need from the Adobe Acrobat (PDF) format of the Help.
To print a single Help topic in the HTML Help:
1 Display the Help topic that you want to print.
For instructions, see “Viewing online documentation” on page xvi.
2 Right-click the topic in the Document window and select your browser’s
command to print.
To print several pages from the PDF documentation:
1 Open the PDF documentation from the product CD-ROM or download it from
the HomeSite+ for Dreamweaver MX section of the Macromedia website.
2 Print as many pages of the documentation as you need.
For more information, see the Adobe Acrobat Reader online Help.
xviii About This Book
Getting answers
One of the best ways to solve particular programming problems is to tap into the vast
expertise of the HomeSite+ for Dreamweaver MX developer communities which you
can by following the Community links on http://www.macromedia.com/software/
homesite/.
Other developers on the forum can help you figure out how to do just about anything
with http://www.macromedia.com/software/homesite/. The search facility can also
help you search messages from the previous 12 months, allowing you to learn how
others have solved a problem that you might be facing. The forum is a great resource
for learning HomeSite+ for Dreamweaver MX, and it is also a great place to see the
HomeSite+ for Dreamweaver MX developer community in action.
Contacting Macromedia
Corporate
headquarters
Technical
support
Sales
Macromedia, Inc.
600 Townsend Street
San Francisco, CA 94103
Tel: 415.252.2000
Fax: 415.626.0554
Web: http://www.macromedia.commacromedia.com/a
Macromedia offers a range of telephone and web-based
support options. Go to http://www.macromedia.com/
support/www.macromedia.com/support//a for a complete
description of technical support services.
All user forums are listed on the Macromedia Forums home
page at http://www.macromedia.com/support/forums/
http://www.macromedia.com/support/forums//a. You can
post an entry anytime.
To ll - fr e e: 888.939.2545
Tel: 617.219.2100
Fax: 617.219.2101
E-mail:
mailto:sales@macromedia.comsales@macromedia.com/
a
This chapter describes how to install or upgrade HomeSite+ for Dreamweaver MX
and how to initially configure it.
Contents
• System requirements .................................................................................................. 2
• Installing or upgrading ............................................................................................... 2
• Completing the setup ................................................................................................. 3
• Monitoring system resources ..................................................................................... 6
2Chapter 1 Setting Up the Product
System requirements
The minimum installation requirements are as follows:
• Pentium-compatible processor (Pentium II or higher recommended)
®
• Microsoft Windows
Windows XP
• Internet Explorer 4.5 or later
• 128 MB available RAM
• 800 x 600 pixel screen resolution with 256-color display
• 200 MB of hard disk space
®
• ColdFusion
• CD-ROM drive for packaged (not trial) version
Server for debugging, database access, and deployment
98, Windows ME, Windows NT® 4.0, Windows 2000, or
Installing or upgrading
This section contains instructions for installing and upgrading HomeSite+ for
Dreamweaver MX. The installation also installs TopStyle 2.1 Lite, its integrated style
sheet editor, unless your computer already has TopStyle version 2.1 or 2.5 installed.
Do not install an earlier version of HomeSite+ for Dreamweaver MX over a later
version; however, later versions are backward-compatible with earlier versions. If
both this version and a previous version are installed on your computer, you can run
either version, but the earlier version will reflect changes made in the current version
to searching, source control and projects, debugging, FTP, RDS, and validation.
HomeSite+ for Dreamweaver MX records any errors that are encountered during the
installation to install.log in the root directory. Please be ready to send this file to
Technical Support if you need help with the installation.
Completing the setup3
To install or upgrade:
1 If you are upgrading, you can uninstall the previous version before installing the
new version, but do not delete the UserData and AutoBackup folders from the
previous installation. If you delete them, you cannot import your customizations,
or the files that were created by Auto Backup, into the new version.
2 Close all open applications and insert the HomeSite+ for Dreamweaver MX
CD-ROM.
3 When the initial window displays, click Install.
4 Follow the instructions in the Installation Wizard.
5 After the program files are copied to your computer, select the option to restart
your computer and click Finish.
Note
If you would like to configure Microsoft Internet Explorer so that it opens this
product as the default HTML editor (instead of Microsoft Frontpage, for example),
see Knowledge Base article http://www.allaire.com/handlers/
index.cfm?ID=10425&Method=Full10425/a on the Macromedia website.
Completing the setup
This section explains how to initially set up HomeSite+ for Dreamweaver MX if you
have installed it for the first time, and how to set up HomeSite+ for Dreamweaver MX
based on the options that were set in a previous version. The Initial Configuration
Wizard (ICW) guides you through both of these processes.
Note
The English language version of HomeSite+ for Dreamweaver MX is installed with
support for Chinese (traditional and simplified), Korean, and Japanese character sets
on localized Windows systems. To enter characters from these sets, use the
Microsoft input method. This support depends on your system language, and does
not work if the Western language option is set. In Windows, you can reset your
system language from the Control Panel, in Regional Settings or Regional Options.
About the Initial Configuration Wizard
The Initial Configuration Wizard (ICW) lets you carry over options from a previous
version and also set new options.
The first time you run the current version of HomeSite+ for Dreamweaver MX, the
ICW automatically starts, and it checks for a previous version:
• If one is found, you can selectively import options from the previous version.
• If one is not found, the Wizard prompts you to set a few initial options.
When you are finished, HomeSite+ for Dreamweaver MX starts.
4Chapter 1 Setting Up the Product
You can run the ICW again at any time by selecting File > New and then selecting
Initial Configuration Wizard from the Custom tab.
Using the Initial Configuration Wizard
This section explains how to complete the ICW after a first-time installation on a
computer, and after an upgrade.
The ICW automatically starts when you run HomeSite+ for Dreamweaver MX for the
first time.
To complete the ICW after a first-time installation:
1 In the initial Welcome dialog box of the Wizard, click Next.
2 In the Debug Settings dialog box, add, modify, or delete RDS server
configurations. Click Next.
3 In the Debug Mappings dialog box, add, modify, or delete mappings to RDS
servers. Click Next.
You can view or modify this information later using the Debug menu commands.
4 In the Development Style dialog box, select the language toolbars to include in
the QuickBar, and select or browse to the template that you want to use as your
default for all HomeSite+ for Dreamweaver MX documents.
5 In the Perform Upgrade dialog box, confirm your selections (you can click Back
and make changes if necessary), and then click Finish.
The initial configuration is complete and you can start using HomeSite+ for
Dreamweaver MX.
To complete the ICW after an upgrade:
1 In the initial Welcome dialog box of the Wizard, click Next.
2 In the Upgrade Product Settings dialog box, note the items that you can upgrade,
based on the changes made in the previous version. Click Next.
What appears next depends on the changes made in the previous version:
• If remote servers were defined in the previous version, the Upgrade Remote
Servers dialog box appears.
Select every server that you need for the current version or any previous
version. (If you do not select a server in this list, it will no longer work in the
previous version either.) Click Next.
• If toolbars were added or modified, the Upgrade Toolbars dialog box appears.
Select every toolbar change that you want to carry over to the current version.
Click Next.
• If the previous version contained customizations such as shortcuts, snippets,
code templates, and modifications to Tag Completion and Tag Insight, then
the Upgrade Feature Customizations dialog box appears. Select every
customization that you want to carry over to the current version. Click Next.
Completing the setup5
3 In the Preserve Editor Settings dialog box, select the options to carry over to the
current version. Click Next.
You can change these options later by selecting Options > Settings and making
changes in the Editor pane, Validation pane, and the panes underneath Editor.
4 In the Preserve General Settings dialog box, select the customizations to carry
over to the current version. (Only nondefault options appear.) Click Next.
You can change these options later by selecting Options > Settings and making
changes in the following panes: General, Markup Languages, Startup, Locations,
File Settings, Browse, Spelling, Dreamweaver/UltraDev, Projects, and Tag
Definitions Library.
5 In the Miscellaneous Settings dialog box, select the items whose options you
want to carry over to the current version. For example, to carry over color coding
customizations, select Color Settings. Or if Auto Completion was enabled in the
previous version, and you want to keep it turned on in the current version, select
Auto Completion. Click Next.
6 In the Debug Settings dialog box, add, modify, or delete RDS server
configurations. Click Next.
7 In the Debug Mappings dialog box, add, modify, or delete mapping to RDS
servers. Click Next.
You can view or modify this information later using the Debug menu commands.
Note
To import a localhost RDS development mapping from a previous version,
complete the Wizard, open HomeSite+ for Dreamweaver MX, expand the
Macromedia FTP & RDS node on one of the Files tabs, right-click the localhost
server and select Delete server. Run the Wizard again and import the previous
version of the localhost RDS development mapping.
8 In the Development Style dialog box, select the language toolbars to include in
the QuickBar, and select or browse to the template that you want to use as your
default for all HomeSite+ for Dreamweaver MX documents.
9 In the Perform Upgrade dialog box, confirm your selections (you can click Back
and make changes if necessary), and then click Finish.
The initial configuration is complete and you can start using HomeSite+ for
Dreamweaver MX.
6Chapter 1 Setting Up the Product
Monitoring system resources
On Windows 98 and Windows ME platforms, HomeSite+ for Dreamweaver MX uses
a great amount of Windows Graphics Device Interface (GDI) and user resources. This
section describes the resource problem and how to mitigate it.
For more information, also see http://www.allaire.com/Handlers/
index.cfm?ID=21011&Method=FullKnowledge Base article 21011/a on the
Macromedia website.
Releasing system resources taken at startup
You can free up Windows 98/ME resources by preventing unnecessary programs and
processes from running at startup.
To release resources that Windows 98/ME takes at startup:
1 In Windows, select Start > Run.
2 In the Run dialog box, enter msconfig and click OK.
3 Clear the options that you are absolutely certain that you do not need, use, or
have. Record your changes as you proceed, in case you need to change back.
4 Click Apply.
For a useful description of memory usage on Windows 98/ME systems, see the
Windows 9.x System Resources article on http://www.windows-help.net/techfiles/
win-resources.htmlInfiniSource/a.
After reclaiming these resources, if you still encounter difficulties with system
resources, you might benefit from configuring the Resource Level Monitor.
About the Resource Level Monitor
The Resource Level Monitor runs in the background when you start HomeSite+ for
Dreamweaver MX and warns you when resources reach a critical level, enabling
them to save documents and close the application before a crash occurs. However,
the warning dialog box was not labeled with the application name, and users had to
edit the Windows registry to configure the monitor.
As a result, the Resource Level Monitor has been enhanced for this release so that the
warning dialog box includes the application name in the window title and in the
message text, to indicate that it is generated by HomeSite+ for Dreamweaver MX.
Also, users can now configure the monitor in a graphical user interface.
Note
You must have rsrc32.dll installed on your computer to use the Resource Monitor.
This DLL file comes from the Windows System Resource Monitor.
Monitoring system resources7
Using the Resource Level Monitor
This section explains how to respond to warnings and how to configure the monitor.
Responding to warnings
A warning dialog box appears if your available Windows Graphics Device (GDI) or
user resources drop below your default warning thresholds. For example, it appears
if your default warning threshold for GDI resources is 15% and your available GDI
resources drop to 14%.
For best results, save your work, even if you choose to continue. If you continue, the
warning dialog box closes and does not appear again unless your system resources
drop another 5%; for example, when your GDI resources drop to 9%.
Configuring the monitor
You should configure the Resource Level Monitor if your system crashes without
having been warned, or if you are being warned frequently or unnecessarily. You can
adjust monitor options until you find a stable level for your computer.
To configure the Resource Level Monitor:
1In the Options > Settings > Resource Monitoring pane, specify any of the
following options:
• Enable resource monitoring Clear this to disable resource monitoring.
GDI level threshold (%) Select the minimum percentage of remaining
Windows Graphics Device Interface (GDI) resources before the system issues
a warning. The default is 15%.
• User level threshold (%) Select the minimum percentage of remaining user
level resources before the system issues a warning. The default is 15%.
• Monitoring interval (minutes) Select a time interval in minutes for the
system to monitor your available resources.
2 Click Apply.
8Chapter 1 Setting Up the Product
Chapter 2
Configuring Browsers and
Servers
This chapter contains instructions for setting up browsers and servers.
Contents
• Configuring the internal browser............................................................................. 10
• Configuring an external browser ............................................................................. 12
• Working with files on remote servers ...................................................................... 14
10Chapter 2 Configuring Browsers and Servers
Configuring the internal browser
You can use the internal browser to browse documents and application pages from
within HomeSite+ for Dreamweaver MX.
With a server mapping, you can also preview server-side processes in your page; for
example, server-side includes, results from submitting a form to a CGI program, and
the results of server-side code. For more information, see “About server mappings”
on page 20.
You can also use the Browse toolbar to view pages in external browsers, test the page
in different screen resolutions, and more. For more information, see “A b ou t t he
Browse tab” on page 29.
To set internal browser options:
1In the Options > Settings > Browse pane, select one of these browser options:
• Use Microsoft Internet Explorer Uses Microsoft Internet Explorer (version
3.01 or later) as the internal browser. To download the latest version, see
• Use Netscape Uses Netscape (version 6 or later) as the internal browser.
For this option you must correctly install and configure the Mozilla browser
NGLayout/Gecko control. (Please note that the Mozilla control is under
continual development, and could lack stability.)
For setup instructions, “To install and configure Mozilla:” on page 10.
• Use the built-in browser Uses the built-in browser as the internal browser.
Please note that this browser has only limited support of HTML and browser
extensions.
You can only use one internal browser at a time, but you can change this setting
as needed. Restart the product for the change to take effect.
2 To have the same file saving behavior when viewing pages in the internal browser
as when viewing pages in the external browser, select Use External Browser
Configuration for Internal Browser.
For more information, see “Configuring an external browser” on page 12.
To install and configure Mozilla:
1 Download a Mozilla build from http://ftp.mozilla.org/pub/mozilla/releases/
http://ftp.mozilla.org/pub/mozilla/releases//a.
For best results, download the Mozilla 0.8.1 build created on 8/28/2001, from