Adobe Dreamweaver Forums



Last 10 THreads :         DW help urgently needed, lost my connection to site (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          Connecting to a Database (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          application.cfm/webservice (Last Post : BKBK - Replies : 1 - Views : 2 )           »          Random positions for Movieclips (Last Post : arnhemcs - Replies : 4 - Views : 8 )           »          Generating LEGAL size Word doc (Last Post : BKBK - Replies : 2 - Views : 3 )           »          This Tough Economy and Flex/AIR (Last Post : LuigiL - Replies : 2 - Views : 108 )           »          Fireworks images seem jaggy or kind of blurry (Last Post : azmatswabi - Replies : 5 - Views : 7 )           »          a group for eve players to discouss the interest (Last Post : evemaven - Replies : 0 - Views : 1 )           »          Trouble using variables to name and instantiateTextFields (Last Post : jc_2006 - Replies : 1 - Views : 2 )           »          Background color code is not working. Please help (Last Post : Tim G - Replies : 9 - Views : 10 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Extensions
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 08-06-2008, 09:59 PM
ndutzie ndutzie is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Diggs: 0
Default [HELP] dw CS3 and MX2004 don't execute javascript

I have an extension that copies some files and folders from dreamweaver configuration folder to user's local site folder.

To make it easy, I tried to put that up under INSERT menu on dreamweaver. When clicked, it is suppose to execute an html file with the javascript on it. The menu works really well under dreamweaver 8 (it executes the html).

However, when I tried the extension on dreamweaver CS3 and MX2004, it didn't do anything although it was successfully installed. It seemed that these version didn't manage to execute my html that contains the javascript. And to my surprise, there was no error message at all displayed on the screen.

Is there any chance that I mistakenly write the wrong code in my XMI file?

I enclosed my XMI file below:

Code:
<macromedia-extension id="" 
	name="Ext11"
	version="1"
	type="suite">

	<!-- List the required/compatible products -->
	
	<products>
		<product name="Dreamweaver" version="4" primary="true" /> 
	</products> 

	<!-- Describe the author -->
	
	<author name="name" />

	<!-- Describe the extension -->
	
	<description>
	<![CDATA[
		description
	]]>
	</description>

	<ui-access>
	<![CDATA[ ]]>
	</ui-access>

	
	<files>
		<file source="file_copy.html" destination="$dreamweaver/Configuration/commands/folder1/file_copy.html" />
	</files>

<configuration-changes>
		<menu-insert insertAfter="DWMenu_Insert_Media" skipSeparator="true">
			<menu id="menu1" name="_menu1"></menu>
		</menu-insert>
		<menu-insert appendTo="menu1">
			<menuitem id="folder1_1" file="commands/folder1/file_copy.html" command="dw.runCommand('folder1/file_copy.html');" name="Install Now!" />
		</menu-insert>
	</configuration-changes>
		
</macromedia-extension>
I really appreciate any help and comment on this.

Looking forward to your helps ...



Last edited by ndutzie : 08-06-2008 at 10:52 PM.
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk