Adding Extension Tab to Insert Bar

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Adding Extension Tab to Insert Bar

    Finally, after much trial and error, I' ve created an extension to insert some
    code I needed that prompts for input...

    Now, however, in following a tutorial I found on dmxzone.com that shows how to
    create an .mxi file to package the extension, I'm encountering some problems.

    First, I had tried modifying the insertbar.xml file, which worked, but not
    exactly as I wanted it to...and, I needed to package it to give to someone
    else, so I undid the modifications to the insertbar.xml file, but my
    modifications refuse to go away, and still appear on the insert bar...How can I
    get that to go away.

    Secondly, I created the .mxi file I needed, but I can't seem to get it to
    appear as I want...what I want is to have the tab labeled "GFSO", because I
    want to have multiple extensions that pertain to that organization. Then, I
    want the tooltip to say "Insert MP3 Player Code"...

    My question, I guess, is...how do I make that happen...??? I can get either/or
    to happen, but not both. What in the .mxi file controls this??? I've searched
    everywhere, but can't find any resource that fully addresses this question.

    My .mxi file reads:


    <macromedia-extension id=""
    name="GFSO"
    version="1"
    type="object">

    <!-- List the required/compatible products -->

    <products>
    <product name="Dreamweaver" version="8" primary="true" />
    </products>

    <!-- Describe the author -->

    <author name="Maynard Jarvis" />

    <!-- Describe the extension -->

    <description>
    <![CDATA[This extension will add the code necessary for the MP3 player to
    play clips.]]>
    </description>

    <ui-access>
    <![CDATA[Click on Insert MP3 Player Code icon from the GFSO Objects window]]>
    </ui-access>


    <files>
    <file name="MP3 Player.html"
    destination="$dreamweaver/configuration/objects/GFSO" />
    <file name="MP3 Player.js"
    destination="$dreamweaver/configuration/objects/GFSO" />
    <file name="MP3 Player.gif"
    destination="$dreamweaver/configuration/objects/GFSO" />
    </files>

    <!-- Describe the changes to the configuration -->

    </macromedia-extension>

    which gives me a tab that reads "MP3 Player"...how can I make this say
    "GFSO"??? I thought that by having the .html and .js code in it's own directory
    would do that, but even though I specify that install directory, it isn't
    created and I'm not sure where the files for the extension end up.

    Thanks in advance!

    ecometrist Guest

  2. Similar Questions and Discussions

    1. Insert Object Extension (?) Help for Newbie
      Not quite sure where to begin...I'm rather new at Dreamweaver, and I'm finding a need to have an insert extension written which will automate the...
    2. How do I insert an extension into a DW file.
      I am new to Dreamweaver. I have downloaded Web Photo Album 2.2 for Dreamweaver 8 and MX 2004, V2.2.6 from ... ...
    3. Cannot Insert Code in with my Extension.
      Hey everyone! Back with another question. I am trying to figure out why I cannot add code to my command extension. There is a UI with it, and...
    4. Problem with Insert Flash Extension
      Hi Experts, I am having trouble with the Insert Flash HTML Extension. It is complaining that the HTML was not created by Flash Publish, but it...
    5. Bug in extension-insert tag
      Bob Crawford wrote: The docs say nothing about where the inserted item would be placed, and I would only expect it to be placed as it's own...
  3. #2

    Default Re: Adding Extension Tab to Insert Bar

    > which gives me a tab that reads "MP3 Player"...how can I make this say
    > "GFSO"??? I thought that by having the .html and .js code in it's own
    > directory
    > would do that, but even though I specify that install directory, it isn't
    > created and I'm not sure where the files for the extension end up.
    >
    > Thanks in advance!
    >


    I think the last part of your mxi file is not complete.
    You need to write in the insertbar.xml file in a specific way, something
    like this :

    <configuration-changes>

    <insertbar-changes>
    <insertbar-insert>

    <category
    folder="GFSO"
    id="MY_ID"
    name="NAME">

    <button
    file="GFSO/MP3 Player.html"
    id="BUTTON_ID"
    image="GFSO/MP3 Player.gif"
    name="Insert MP3 Player Code" />

    </category>
    </insertbar-insert>
    </insertbar-changes>


    </configuration-changes>

    Then, under <category>, you can add other extensions

    [url]http://download.macromedia.com/pub/exchange/mxi_file_format.pdf[/url]



    For your fist question, I don't know. If you remove the code in
    insertbar.xml, remove the files in the Object folder, restart DW, I think it
    should go away.
    You also have an automatic backup called insertbar.xbk. Maybe it's not too
    late...

    Bertrand Guest

  4. #3

    Default Re: Adding Extension Tab to Insert Bar

    I haven't the solution for the second problem, but for the first, maybe it's a
    multi-user configuration pb.

    If you have modified the Program Files/Macromedia/DW/ folder, there are
    chances that DW copied the insertbar.xml fil to your local user folder
    (Document & Settings/User Name/ ....).

    Another thing could be a cache folder DW's using but I can't remember where it
    is.

    hope it helps
    Tom

    T0m_ Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139