Skip navigation
pinaryildiz
Currently Being Moderated

creating an extension help

Nov 3, 2011 2:09 AM

Tags: #extension

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

 
Replies
  • Currently Being Moderated
    Nov 14, 2011 9:20 AM   in reply to pinaryildiz

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points