Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
AXEmonster #1
simple (first attempt) mxi
ok guys
decided to look into extension writing
have hacked away at the config dir and files within to produce what im after.
a simple button which launches the browser and directs to a url. This bit is
fine and have it working so nor its time to create the mxi file in order to
package it but i cant seem to get this working
As you can see from my included mxi code below i have a tag called <button as
its this i want to write to the toolbars.xml
please can you guide me in the correct way
im getting "cannot write to toolbars.xml" error when packaging the mxi
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////
/// toolbar.xml addition (i need this inserting into the toolbars.xml)
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////
<button id="DJ" image="Toolbars/images/dreamweaverclub.gif" tooltip="Get Some
Help" domRequired="FALSE"
command="dreamweaver.browseDocument('http://www.dreamweaverclub.com/forum/')"/>
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////
/// dwc.mxi
////////////////////////////////////////////////////////////////////////////////
/////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////
<?xml version="1.0" encoding="utf-8"?>
<macromedia-extension name="DWC Button" version="1.0.0"
requires-restart="true" type="button">
<author name="DJ" />
<products>
<product name="Dreamweaver" version="6" primary="true" /></products>
<description>
<![CDATA[This extension installs a button which opens your browser and directs
you to DWC]]>
</description>
<ui-access><![CDATA[Click the button > click the button.]]></ui-access>
<license-agreement>
<![CDATA[SAMPLE THIRD PARTY LICENSE TEXT:<br>blah blah blah]]>
</license-agreement>
<files>
<file source="dreamweaverclub.gif"
destination="$dreamweaver/configuration/Toolbars/images/" />
</files>
<configuration-changes>
<toolbar-changes>
<toolbar-insert>
<toolbar-item-insert insertAfter="DW_Redo" toolbar="Standard_Toolbar">
<button id="DJ" image="Toolbars/images/dreamweaverclub.gif" tooltip="Get Some
Help" domRequired="FALSE"
command="dreamweaver.browseDocument('http://www.dreamweaverclub.com/forum/')"/>
</toolbar-item-insert>
</toolbar-insert>
</toolbar-changes>
</configuration-changes>
</macromedia-extension>
AXEmonster Guest
-
My First Flash Attempt
I have just designed my first piece of flash, a small advertisment for my site http://www.jimwebf1.co.uk 's fantasy F1 game. You can see this on... -
4th attempt: UDP Socket Bug
First make sure that the code works and that it is not some other problem, thus run the code in a normal windows app. Then make sure your... -
3rd attempt: UDP Socket Bug
Using udp sockets inside a class called by ASP.NET By impersonating you can use a TCP socket from a external class and call it from a ASP.NET... -
2nd attempt: UDP Socket Bug
This could have been fixed but I'm pretty sure I recall this sometime ago as an unresolved bug. Can you get this to work from a standard console... -
My VERY FIRST artistic attempt... link
DISCLAIMER: any BASHING (substitute any synonym in here) of the given image will only be DEstructive. This is my absolutely FIRST artistic attempt... -
AXEmonster #2
Re: simple (first attempt) mxi
sorted this
just removed the following node
<toolbar-insert>
AXEmonster Guest



Reply With Quote

