Changing menus and menu commands

By editing the menus.xml file, you can move menu commands within a menu or from one menu to another, add separators to or remove them from menus, and move menus within a menu bar or even from one menu bar to another.

You can move items into or out of context menus using the same procedure as for other menus.

For information, see The menus.xml file.

Move a menu command

  1. Quit Dreamweaver.

  2. Make a backup copy of the menus.xml file.

  3. Open menus.xml in a text editor such as BBEdit, Macromedia® HomeSite,® or Wordpad. (Don’t open it in Dreamweaver.)

  4. Cut an entire menuitem tag, from the <menuitem at the beginning to the /> at the end.

  5. Place the insertion point at the new location for the menu command. (Make sure it’s between a menu tag and the corresponding /menu tag.)

  6. Paste the menu command into its new location.

Create a submenu while moving a menu command

  1. Place the insertion point inside a menu (somewhere between a menu tag and the corresponding /menu tag).

  2. Insert a new menu tag and /menu tag pair inside the menu.

  3. Add new menu commands to the new submenu.

Insert a separator between two menu commands

  • Place a separator/ tag between the two menuitem tags.

Remove an existing separator

  • Delete the corresponding separator/ line.

Move a menu

  1. Quit Dreamweaver.

  2. Make a backup copy of the menus.xml file.

  3. Open menus.xml in a text editor such as BBEdit, HomeSite, or Wordpad. (Don’t open it in Dreamweaver.)

  4. Cut an entire menu and its contents, from the opening menu tag to the closing /menu tag.

  5. Place the insertion point at the new location for the menu. (Make sure it’s between a menubar tag and the corresponding /menubar tag.)

  6. Paste the menu into its new location.