Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
ecometrist #1
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
-
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... -
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 ... ... -
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... -
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... -
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... -
Bertrand #2
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
-
T0m_ #3
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



Reply With Quote

