Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

creating an extension help

New Here ,
Nov 03, 2011 Nov 03, 2011

extension.JPG

while i can do this, i change menus.xml and DWMainWindow.xml in my extension file(.mxi). But problem is when i disable my extension it deletes DWMainWindow.xml. So dreamweaver is not opening.

How can i create my extension with configuration-changes in mxi file ? i can add menuitem like addCompanDb, AddLog, Autocomplete. But it is not grouping for example in Add group or Add PeriodDb group. Add is a menu. So how can i describe a menu in Workcube menu. Menuitems are seeing but menu is not working

TOPICS
Extensions
2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 14, 2011 Nov 14, 2011
LATEST

What specifically do you meant that you "change menus.xml and DWMainWindow.xml in my extension file"?

You should not be changing those files, you should be using the MXI tags to add menu items. When you uninstall your extension Extension Manager will remove the added menu items. based on "when i disable my extension it delete DWMainWindow.xml" It seems like you include that file in your MXI, you should not do that! Never ever overwrite any built in Dreamweaver file, otherwise you're bound to run into issue like it seems like you're seeing.

Look on page 26 of the MXI format to see the menu-insert tag and into the next couple of pages to see some sample code for adding menu items:

http://help.adobe.com/en_US/ExtensionManager/2.0/mxi_file_format.pdf

Danilo Celic

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines