MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 43

Extending dreamweaver
Table of Contents

Advertisement

Document extensions and file types
By default, Dreamweaver shows all the file types it recognizes in the File > Open dialog box.
After creating a new document type, extension developers need to update the appropriate
Extensions.txt file. If the user is on a multiuser system (such as Windows XP, Windows 2000,
or Mac OS X), the user has another Extensions.txt file in their Configuration folder. The user
must update the Extensions.txt file because it is the instance that Dreamweaver looks for and
parses.
The location of the user's Configuration folder depends on the user's platform.
Windows 2000 and Windows XP platforms use the following location:
drive:\Documents and Settings\username\Application Data\Macromedia\Dreamweaver
8\Configuration
In Windows XP, this folder may be inside a hidden folder.
Mac OS X platforms use the following location:
drive:Users/username/Library/Application Support/Macromedia:Dreamweaver 8/
Configuration
If Dreamweaver cannot find the Extensions.txt file in the user's Configuration folder,
Dreamweaver looks for it in the Dreamweaver Configuration folder.
On multiuser platforms, if you edit the copy of Extensions.txt that resides in the
Dreamweaver Configuration folder and not the one in the user's Configuration folder,
Dreamweaver is not aware of the changes because Dreamweaver parses the copy of the
Extensions.txt file in the user's Configuration folder, not the file in the Dreamweaver
Configuration folder.
To create a new document extension, you can either add the new extension to an existing
document type or create a new document type.
To add a new extension to an existing document type:
1.
Edit MMDocumentTypes.xml.
2.
Add the new extension to the
the existing document type.
To add a new document type:
1.
Make a backup copy of the Extensions.txt file in the Configuration folder.
2.
Open Extensions.txt in Dreamweaver or a text editor.
and
winfileextension
Extensible document types in Dreamweaver
attributes of
macfileextension
43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents