
Customizing Macromedia Dreamweaver MX 5
To add new file types to the menu in the File > Open dialog box:
1 Make a backup copy of the Extensions.txt file in the Configuration folder.
2 Open Extensions.txt in Dreamweaver or a text editor.
3 Add a new line for each new file type. In capital letters, enter the filename extensions that the
new file type can have, separated by commas; then add a colon and a brief descriptive phrase to
show in the pop-up menu for file types that appears in the File > Open dialog box. For
example, for JPEG files, enter the following:
JPG,JPEG,JFIF:JPEG Image Files
4
Save the file.
5 Restart Dreamweaver.
To see the changes, select File > Open and click the pop-up menu of file types.
Modifying the Insert bar
By default, the Insert bar is divided into several tabs. (For information about the objects in these
tabs, see Dreamweaver Help.) The tabs correspond to folders in the Configuration/Objects folder
within the Dreamweaver application folder.
You can move objects from one tab to another, rename tabs, and remove objects from the panel
altogether. To make your changes appear in the Insert bar, you must either restart Dreamweaver
or reload extensions.
The insertbar.xml file specifies the order of the tabs, and the order of objects within each tab.
Dreamweaver creates the Insert bar based on the tabs and objects specified in insertbar.xml, then
checks the folders corresponding to the tabs, looking for additional objects not listed in
insertbar.xml. Such objects are appended to the appropriate tabs, after all the objects that are
listed in insertbar.xml.
Dreamweaver ignores folders in the Objects folder that aren’t listed in insertbar.xml.
Note: Remember that in a multiuser operating system, you should edit copies of configuration files in your user
configuration folder rather than editing master configuration files. For more information, see “About customizing
Dreamweaver in a multiuser environment” on page 2.
For each object in an Insert bar tab, there are two or three files in the corresponding folder:
• A GIF file containing an icon for the object
• An HTML file containing either the HTML to be inserted into your file or an HTML form
that lets you specify data to be inserted (such as the text of a comment)
• A JavaScript file (optional) that generates the HTML to be inserted into your file
To move or copy an object from one Insert bar tab to another, or to a new location within a tab:
1 Make a backup copy of Objects/insertbar.xml.
2 Open insertbar.xml in Dreamweaver or in a text editor.
3 Find the button tag representing the object you want to move or copy. For example, to move
the Image object from its location in the Common tab, find the
button tag that has an id
attribute of
"DW_Image".
4 Cut or copy the entire button tag.
Kommentare zu diesen Handbüchern