<?xml version="1.0" ?> 
<?xml-stylesheet type='text/xsl' href='cmxrss.xslt' version='1.0'?>
<!--  RSS generation by 'communitymx.com' on Wed, 22 May 2013 15:07:47 GMT   --> 
<rss version="0.92">
	<channel>
		<title>Extensioneering</title> 
		<link>http://www.communitymx.com/blog/?blogger=12</link> 
		<description>Community MX Member Blog: Danilo Celic's blog</description> 
		<webMaster>admin@communitymx.com</webMaster> 
		<language>en-us</language> 
		<item>
			<title>require_once and includes above connections in Dreamweaver under PHP</title>
			<description>&lt;p&gt;Dreamweaver adds connection incudes at the top of the file using code similar to the following:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;&amp;lt;?php require_once(&apos;Connections/localhost.php&apos;); ?&amp;gt;&lt;/p&gt;
&lt;p&gt;If you add code above the connection includes using require_once(), or include() and you use single quotes around the file name, then Dreamweaver will mark the Recordsets in the ServerBehaviors panel 	as broken. If you try to inspect the recordset to fix it, once you click OK, the include is removed (or the first include is removed, if you have more than one include at the top of the page).&lt;/p&gt;
&lt;p&gt;FIX: If you switch to using double quotes around the file names, then the recordsets aren&apos;t marked as broken, and the require_once() and include() aren&apos;t removed, as in the following:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;
&amp;lt;?php require_once(&quot;myinclude.php&quot;); ?&amp;gt;
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=718</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=718</guid>
			<pubDate>Mon, 10 Jul 2006 17:45:48 GMT</pubDate>
		</item>
		<item>
			<title>Dreamweaver 8.0.2 released 5/09/2006</title>
			<description>		&lt;p&gt;Adobe released an updater for Dreamweaver 8 to push the version up to 8.0.2. Included in the 8.0.2 release are updates to server behaviors that prevent SQL injection. The updater can be found in the &lt;a href=&quot;http://www.adobe.com/support/dreamweaver/downloads_updaters.html&quot;&gt; Dreamweaver support center&lt;/a&gt;. For those that interested check out the &lt;a href=&quot;http://www.adobe.com/support/documentation/en/dreamweaver/dw8/releasenotes.html&quot;&gt;release notes&lt;/a&gt; to see what has been changed. &lt;/p&gt; &lt;p&gt; Dreamweaver MX 2004 users can update their code by following the directions for: &lt;a href=&quot;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=300b670e&quot;&gt;ColdFusion&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=30037473&quot;&gt;PHP&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=57ae79b2&quot;&gt;ASP VBScript&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=581a553c&quot;&gt;ASP JavaScript&lt;/a&gt;&lt;br /&gt; &lt;a href=&quot;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=585ac720&quot;&gt;JSP&lt;/a&gt;&lt;br /&gt; &lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=702</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=702</guid>
			<pubDate>Tue, 09 May 2006 20:06:04 GMT</pubDate>
		</item>
		<item>
			<title>Dreamweaver 8.0.1 released 1/16/2006</title>
			<description>&lt;p&gt;Dreamweaver 8.0.1 updater has been released, check out the &lt;a href=&quot;http://www.macromedia.com/support/dreamweaver/downloads_updaters.html&quot;&gt;Dreamweaver	 Updaters download page&lt;/a&gt; for  are a link to the updater. &lt;/p&gt;   &lt;p&gt;Read over the &lt;a href=&quot;http://www.macromedia.com/go/f56452a8&quot;&gt;Resolved Issues&lt;/a&gt; in 		case you&apos;re one of those, &amp;quot;if it ain&apos;t broke, 		don&apos;t fix it crowd&amp;quot; to see if it&apos;ll help you with any problems that you&apos;re experiencing. &lt;/p&gt;   &lt;p&gt;Also, before you install, or if you have installed and ran into a problem or two, make sure to check 		out the &lt;a href=&quot;http://www.macromedia.com/go/f00eeae&quot;&gt;Dreamweaver 8.0.1 Updater installation issues&lt;/a&gt; page. &lt;/p&gt; </description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=649</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=649</guid>
			<pubDate>Mon, 16 Jan 2006 18:15:09 GMT</pubDate>
		</item>
		<item>
			<title>MMUG Chicago Presentation 1/23/2006: XSLT Authoring with Dreamweaver 8</title>
			<description>		&lt;p&gt;&lt;a href=&quot;http://www.mmugchicago.org&quot;&gt;MMUG Chicago&lt;/a&gt;, The Chicago Area Macromedia Users Group presents:&lt;br /&gt; 		&amp;quot;XSLT Authoring with Dreamweaver 		8&amp;quot;&lt;/p&gt; &lt;p&gt;Unless you have been snoozing, you know that the use of XML is growing by  leaps and bounds, especially 		with RSS rapidly taking off. Briefly, XSLT (Extensible Stylesheet Language Transformations) is a way to format and display XML documents.&lt;/p&gt; &lt;p&gt;Join us Monday January 23rd when Danilo Celic, of Team Macromedia, 		will explain exactly what XSLT is, why you&apos;ll want to use it. Danillo will demonstrate how you 		can use the new XSL tools in Dreamweaver 8 to assist you in creating content for your pages with data 		derived from XML sources. In true Dreamweaver fashion, these new features enable you to visually edit 		your XML derived content with drag and drop ease.&lt;/p&gt; &lt;p&gt;MONDAY, JANUARY 23rd, 2006&lt;br /&gt; Illinois Institute of Art Room 234&lt;br /&gt; 180 North Wabash Chicago, IL&lt;br /&gt; Doors open at 6:00 meeting starts 6:30PM&lt;br /&gt; FREE&lt;/p&gt; &lt;p&gt;Parking garages around the area and accessible from the Randolph/Wabash EL stop, or Lake Street Red 		Line Stop. &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://www.mmugchicago.org&quot;&gt;http://www.mmugchicago.org&lt;/a&gt;&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=648</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=648</guid>
			<pubDate>Sat, 14 Jan 2006 18:13:25 GMT</pubDate>
		</item>
		<item>
			<title>Adobe Acquisition of Macromedia to complete December 3, 2005</title>
			<description>										&lt;p&gt;I figure since my last post was on the announcement of the acquisition that I may as well post the news of it becoming final. From Macromedia&apos;s Press Room: &lt;a href=&quot;http://www.macromedia.com/macromedia/proom/pr/2005/acquisition_clearances.html&quot;&gt; ADOBE&amp;rsquo;S ACQUISITION OF MACROMEDIA EXPECTED TO CLOSE ON DECEMBER 3, 2005&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Of course, until we hear through the offical channels what changes are to be made,&amp;nbsp; I&apos;m sure a lot fo folks will be on edge (especially those with jobs in the line of fire), but I&apos;m not so worried. This world is full of change and we&apos;ll keep going onward and upward.&lt;/p&gt;&lt;p&gt;Here&apos;s to Macromedia! Here&apos;s to Adobe! (raises first of several beers of the night)&lt;br /&gt;&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=633</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=633</guid>
			<pubDate>Fri, 02 Dec 2005 23:03:43 GMT</pubDate>
		</item>
		<item>
			<title>ANN 4-18-2005 : Adobe seeks to purchase Macromedia in an all stock deal</title>
			<description>&lt;p&gt;Big news in the web development world, I&apos;ll let the announcements speak their own volumes, and I&apos;m sure you&apos;ll hear plenty of others on the topic. I&apos;m going to wait an see what further info comes out before I decide what I&apos;m going to think about the whole deal.&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.macromedia.com/macromedia/proom/pr/2005/adobe_macromedia.html&quot;&gt;Macromedia&apos;s side&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.adobe.com/aboutadobe/invrelations/adobeandmacromedia.html&quot;&gt;Adobe&apos;s side&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.markme.com/mesh/archives/007504.cfm&quot;&gt;Mike Chamber&apos;s &lt;/a&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I guess we&apos;ll become quite tired of the &quot;forward looking statements&quot; statements in the near future.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=447</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=447</guid>
			<pubDate>Mon, 18 Apr 2005 14:15:11 GMT</pubDate>
		</item>
		<item>
			<title>&amp;lt;label&amp;gt; tag without a for attribute can crash Dreamweaver MX 2004 when used within an extension</title>
			<description>&lt;p class=&quot;tip&quot; style=&quot;margin-left: 110px; margin-right: 192px;&quot;&gt;Note: &lt;a href=&quot;http://www.macromedia.com/support/email/wishform/&quot;&gt;Reported&lt;/a&gt; to Macromedia already. &lt;/p&gt;
&lt;p&gt;I was trying to help a budding extension developer that was
experiencing crashes of Dreamweaver when they added a &amp;lt;label&amp;gt; tag
to their file. The basic code boils down to this within an extension:&lt;/p&gt;
&lt;p class=&quot;code&quot; style=&quot;margin-right: 192px;&quot;&gt;&amp;lt;label&amp;gt;Name:&amp;lt;/label&amp;gt;&amp;lt;input style=&quot;width:135px&quot; type=&quot;text&quot; name=&quot;name&quot; id=&quot;name&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;Turns out that there are two potential breaking points (only played
with the code in a Command and only with the text box, for other
extension, YMMV):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Adding the &lt;strong&gt;for&lt;/strong&gt; attribute to the &lt;strong&gt;label&lt;/strong&gt;
tag, would cause the issue to go away. In my brief testing, it didn&apos;t
seem to matter what the for attribute value was, as long as it was
there. &lt;/li&gt;
	&lt;li&gt;If you removed the &lt;strong&gt;id&lt;/strong&gt; attribute for the text field, the crashing would stop.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One thing that is weird about it all is that if you keep the &lt;strong&gt;id&lt;/strong&gt; and add the &lt;strong&gt;for&lt;/strong&gt;, and you set the &lt;strong&gt;for&lt;/strong&gt; to have the same value as the &lt;strong&gt;id&lt;/strong&gt;, &lt;em&gt;and&lt;/em&gt; you have no &lt;strong&gt;value&lt;/strong&gt; attribute, or the &lt;strong&gt;value&lt;/strong&gt; is set to an empty string ( &lt;span class=&quot;plaincode&quot;&gt;value=&quot;&quot;&lt;/span&gt; ), that is, when you do not specify a value for the &lt;strong&gt;value&lt;/strong&gt;
attribute, then when your dialog appears some square symbol characters
will be within the text field instead of the field being empty.&lt;/p&gt;
&lt;p&gt;Quite strange indeed.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=446</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=446</guid>
			<pubDate>Fri, 15 Apr 2005 04:18:10 GMT</pubDate>
		</item>
		<item>
			<title>Undocumented Dreamweaver: dreamweaver.popupCommand() and extra arguments</title>
			<description>&lt;p&gt;While it&apos;s deprecated, &lt;span class=&quot;plaincode&quot;&gt;dreamweaver.popupCommand()&lt;/span&gt; is used in several places within Dreamweaver, it isn&apos;t documented as that method that is supposed to be replacing it, &lt;span class=&quot;plaincode&quot;&gt;dreamweaver.runCommand()&lt;/span&gt;. In the documentation for dw.runCommand() it states that you can pass in option arguments that will be procesed by the &lt;span class=&quot;plaincode&quot;&gt;receiveArguments()&lt;/span&gt; function within the called Command. dw.popupCommand() also can take optional parameters to pass on to the called Command. For example, if you wanted to pass along a first name, last name, and age of a user to a Command, you could use the following code:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt; dw.popupCommand(&apos;MyCoolCommand.htm&apos;,&apos;Bill&apos;, &apos;Horvath&apos;, 97);&lt;/p&gt;
&lt;p&gt;Again, this method has apparently been deprecated since Dreamweaver 3, but its still around, at least through Dreamweaver MX 2004, 4 versions later. &lt;/p&gt;

        </description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=435</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=435</guid>
			<pubDate>Wed, 30 Mar 2005 05:17:48 GMT</pubDate>
		</item>
		<item>
			<title>Undocumented Dreamweaver: Hiding menu items (or showing menu items when a modifier key is pressed).</title>
			<description>&lt;p&gt;If you want to show a button on a toolbar, the Dreamweaver docs tell you that you can use the &lt;span class=&quot;inlineimp&quot;&gt;showif&lt;/span&gt; attribute to determine when to show a particular icon. For example, the Live Preview button on the Document toolbar is only shown when you are working with a document type that is one of the dynamic pages, such as ASP or ColdFusion. If you wanted something similar for a menu item, then just reading the docs, you&apos;d think that wasn&apos;t possible. &lt;/p&gt;
&lt;p&gt;Fortunately, you can show a menu item if the condition in the &lt;span class=&quot;inlineimp&quot;&gt;showif&lt;/span&gt; attribute of that menu item returns true. Take the following example that shows the File &amp;gt; New menu item only when the Shift key is held down (added code highlighted):&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt; &amp;lt;menuitem id=&amp;quot;DWMenu_File_New&amp;quot; &lt;span class=&quot;inlineimp&quot;&gt;showif=&amp;quot;dreamweaver.getKeyState(&apos;Shift&apos;)&amp;quot;&lt;/span&gt; name=&amp;quot;_New...&amp;quot; key=&amp;quot;Cmd+N&amp;quot; enabled=&amp;quot;true&amp;quot; command=&amp;quot;dw.newDocument()&amp;quot; domRequired=&amp;quot;false&amp;quot; /&amp;gt;&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=431</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=431</guid>
			<pubDate>Thu, 24 Mar 2005 03:40:47 GMT</pubDate>
		</item>
		<item>
			<title>Combining common message strings and variable parameters</title>
			<description>&lt;p&gt;I&apos;ve mentioned how you can &lt;a href=&quot;http://www.communitymx.com/blog/index.cfm?newsid=423&amp;blogger=12&quot;&gt;store commonly used strings&lt;/a&gt; for use in your extensions, but that only does you so much good, especially if you need to have &amp;quot;dynamic&amp;quot; error messages such as those that tell the user which form field they didn&apos;t fill in, or perhaps that a named element on the user&apos;s page is no longer present. If you do run into a position that you have a commonly used string but you need to make it dynamic, that is, has certain parts of it be changeable depending on input either from the user, or based upon the current page, then you have to work things out a tiny bit differently.&lt;/p&gt;
&lt;p&gt;Sure, you could always use the stringVar.replace(pattern, newValue) method to insert the dynamic part(s) into the generic message, but you might end up repeating that bit of code into every page. Dreamweaver has built in JavaScript library files offer a way in which you can keep your &lt;a href=&quot;http://www.communitymx.com/blog/index.cfm?newsid=423&amp;blogger=12&quot;&gt;loaded strings &lt;/a&gt;and still be able to have them be dynamic. Within &lt;span class=&quot;plaincode&quot;&gt;/Shared/Common/Scripts/dwscripts.js&lt;/span&gt; is a method of the &lt;span class=&quot;plaincode&quot;&gt;dwscripts&lt;/span&gt; object &lt;span class=&quot;plaincode&quot;&gt;sprintf()&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;By way of example, if you had this string definition within the /Strings folder:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;&amp;lt;string id=&amp;quot;cmx/MyLayerMessage&amp;quot; value=&amp;quot;The %s with an id of %s is no longer present on the page.&amp;quot; /&amp;gt; &lt;/p&gt;
&lt;p&gt;And you&apos;d use it with code similar to the following:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;var errMsg = dwscripts.sprintf(dw.loadString(&apos;cmx/MyLayerMessage&apos;), &apos;DIV&apos;, &apos;myDiv&apos;);&lt;br&gt;
	alert(errMsg);
&lt;/p&gt;
&lt;p&gt;And you&apos;d get an alert with the following message:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;The DIV with an id of myDiv is no longer present on the page. &lt;/p&gt;
&lt;p&gt;You can have as many areas to replace within your string as you want (the %s items), and the sprintf() method will take as many string parameters as you want to throw at it. Of course you&apos;ll want to make sure that you match up the number of %s with the strings being passed in.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=429</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=429</guid>
			<pubDate>Fri, 18 Mar 2005 23:12:49 GMT</pubDate>
		</item>
		<item>
			<title>Undocumented Dreamweaver: dw.loadString()</title>
			<description>&lt;p&gt;Many times you&apos;ll need access to similar messages that you present to the
	user, whether in alerts for errors, or in notes on dialogs in a Dreamweaver
	extension. You could include the same text over and over again, in all of the
	extensions you have as part of your project, or you could write your own custom
	file manipulation functions that would share a common file to store your common
	text. Well, the great folks that bring you Dreamweaver also thought of this
	second method, they just happened to not document it just yet, and it&apos;s called
	dreamweaver.loadString(). &lt;/p&gt;
&lt;p&gt;Essentially, the loadString method takes as a parameter, an identifying ID
	that identifies the particular string that you&apos;re trying to use
	within your extension. Well, what does that mean? Ok, here&apos;s a code snippet
	to test out using Tom&apos;s &lt;a href=&quot;/abstract.cfm?cid=270FB&quot;&gt;JavaScript
	Eval panel&lt;/a&gt;:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;alert(dw.loadString(&apos;General/docEncoding&apos;));&lt;/p&gt;
&lt;p&gt;On my system, I get alerted: iso-8859-1&lt;/p&gt;
&lt;p&gt;So, where, and how do you store your strings so that that you can load them
	when needed?&lt;/p&gt;
&lt;p&gt;As usual, you need to get into the &lt;a href=&quot;/blog/index.cfm?newsid=27&amp;amp;blogger=12&quot;&gt;Dreamweaver
configuration folder&lt;/a&gt;. Go to the &lt;span class=&quot;inlineimp&quot;&gt;Configuration/Strings/&lt;/span&gt; folder.
You store your data in a specially formatted XML file. See the following code
for an example of the format:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;&amp;lt;strings&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;string id=&quot;uniqueIdentifier&quot; value=&quot;string to store&quot;&amp;gt;&lt;br&gt;
&amp;lt;/strings&amp;gt;&lt;/p&gt;
&lt;p&gt;You can have multiple &amp;lt;string&amp;gt; tags within the parent &amp;lt;strings&amp;gt; tag. &lt;/p&gt;
&lt;p&gt;Make sure that you uniquely identify your strings, preferably by
&quot;scoping&quot; the strings by including your company name, or your initials,
and also save your strings XML file with a unique name inside the
Strings folder. All this is to avoid any naming conflict with other
developers, or with built in stings, and strings XML files.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=423</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=423</guid>
			<pubDate>Sun, 06 Mar 2005 00:08:20 GMT</pubDate>
		</item>
		<item>
			<title>Dreamweaver JSExtension SWFFile.getNaturalSize() returns null in some cases</title>
			<description>&lt;p&gt;If you work with SWFs in your extensions, you may want to be able to determine
	the dimensions of the SWF so you can generate the proper HTML code. Dreamweaver
	has a built in object called &lt;span class=&quot;plaincode&quot;&gt;SWFFile&lt;/span&gt; that has a method &lt;span class=&quot;plaincode&quot;&gt;getNaturalSize()&lt;/span&gt; that
	is supposed to return an array that contains the width and height of the SWF.
	However, if there are times when you won&apos;t get an array back. It seems that
	if the SWF was published as a compressed movie, then you get a null returned
	rather than the dimensions array. So if you depend on user supplied SWFs, you
	won&apos;t be able to rely on &lt;span class=&quot;plaincode&quot;&gt;SWFFile.getNaturalSize()&lt;/span&gt; to allow you to generate
	the proper dimensions for use in your code. &lt;/p&gt;
&lt;p&gt;I had seen a &lt;a href=&quot;http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=190&amp;threadid=937768&amp;highlight_key=y&amp;keyword1=SWFFile&quot;&gt;question
		in the Dreamweaver Extension forums&lt;/a&gt; a while ago and found out that compressed
		SWFs and SWFs created by Dreamweaver&apos;s Flash Elements seemed to cause the null
		return rather than the SWF dimension array. Thanks to &lt;a href=&quot;http://www.allinthehead.com/&quot;&gt;Drew
		McLellan&lt;/a&gt; who ran into this issue on a new extension he&apos;s working on for
bringing up this issue again, and inspiring me to find a way around the issue so that you don&apos;t need to find out the dimensions, you let Dreamweaver do it for you automatically.&lt;/p&gt;
&lt;p&gt;So, what can you do to get around it? Well, you may think that looking in
	the Flash object on the Insert bar may give you some guidance, as when you
	use it, you end up with code on your page that has the
	proper dimensions for the SWF file in it. However, you&apos;d be
	a little miffed checking the code in that the object itself doesn&apos;t do that,
	Dreamweaver seemingly performs some magic in the background after the Flash
	SWF code is added to the page. The code the Flash object generates sets the
	dimensions to 32x32, and immediately after the insertion, Dreamweaver somehow
	makes the changes to the code reading in the proper dimensions and setting
	them in the code.&lt;/p&gt;
&lt;p&gt;So with this in mind you might follow along with the logic of an object that
	inserts code into a page and attempt to use &lt;span class=&quot;plaincode&quot;&gt;dom.insertHTML()&lt;/span&gt; to
	place the code into your page. Again, you&apos;d be stymied, as that doesn&apos;t seem
	to trigger the resetting of the SWF&apos;s code by Dreamweaver. Ok, if you&apos;re like
	me, you carry on with thinking through the problem, so if an object can do
	this, can I call an Object file to do the code insert for me? The answer to
	that would be: &amp;quot;yes...but&amp;quot;. You can invoke an Object from your extension
	using
	&lt;span class=&quot;plaincode&quot;&gt;dom.insertObject()&lt;/span&gt; passing in the name of the
	object file to run (minus the file extension). The &amp;quot;but&amp;quot; part of the
	answer is that you need to use the &lt;span class=&quot;plaincode&quot;&gt;objectTag()&lt;/span&gt; type
	of Object to insert code into your page, as the &lt;span class=&quot;plaincode&quot;&gt;insertObject()&lt;/span&gt; type
	of Object forces you to use dom.insertHTML() or
	some other method of code insertion. Doing with insertObject() causes
	Dreamweaver to do the replacement for you immediately after the code is inserted
	into the page.&lt;/p&gt;
&lt;p&gt;So you have a workable solution, but you may need to be able to pass along
	the path to the SWF file to your Object that inserts your SWF code for
	you. Unfortunately dom.insertObject() doesn&apos;t allow for passing of parameters
	as &lt;span class=&quot;plaincode&quot;&gt;dw.runCommand()&lt;/span&gt; and &lt;span class=&quot;plaincode&quot;&gt;dwscripts.callCommand()&lt;/span&gt; do.
	So one way around this would be to attach a new property to the &lt;span class=&quot;plaincode&quot;&gt;MM&lt;/span&gt; global
	object, say MM.my_flash_path, and then in the object take that value, and use
	it in the creation of the code to insert into the page.&lt;/p&gt;
&lt;p&gt;Create an extension, and use whatever code you need to to get the path to
	a SWF file, then call dom.insertObject() and pass in the name of your Object.
	The following code just uses a default document relative path to the SWF, and
	calls an Object whose file name is blankFlash.htm. It doesn&apos;t matter which
	folder within the Object folder your Object resides, as long as it is named
	uniquely.&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt; MM.my_flash_path = &apos;batang.swf&apos;;&lt;br&gt;
var dom = dw.getDocumentDOM();&lt;br&gt;
dom.insertObject(&apos;blankFlash&apos;);&lt;/p&gt;
&lt;p&gt;Within your Object file, in this case blankFlash.htm, create an objectTag()
	function and pull the value out of MM.my_flash_path and create the code to
	insert your Object. See the following code as an example (:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;function objectTag(){&lt;br&gt;
	&amp;nbsp;&amp;nbsp;var flashFilePath = MM.my_flash_path;&lt;br&gt;
	&amp;nbsp;&amp;nbsp;rtnStr = &apos;&amp;lt;OBJECT CLASSID=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&apos;
	+ &lt;br&gt;
	&apos; CODEBASE=&amp;quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0&amp;quot; WIDTH=&amp;quot;32&amp;quot; HEIGHT=&amp;quot;32&amp;quot;&amp;gt;\n&apos;
	+ &lt;br&gt;
	&apos;&amp;lt;PARAM NAME=&amp;quot;movie&amp;quot; VALUE=&amp;quot;&apos; + flashFilePath + &apos;&amp;quot;&amp;gt; &amp;lt;PARAM
	NAME=&amp;quot;quality&amp;quot; VALUE=&amp;quot;high&amp;quot;&amp;gt;\n&apos; +&lt;br&gt;
	&apos;&amp;lt;EMBED SRC=&amp;quot;&apos; + flashFilePath +&lt;br&gt;
	&apos;&amp;quot; quality=&amp;quot;high&amp;quot; PLUGINSPAGE=&amp;quot;http://www.macromedia.com/go/getflashplayer&amp;quot; &apos;
	+&lt;br&gt;
	&apos;TYPE=&amp;quot;application/x-shockwave-flash&amp;quot; WIDTH=&amp;quot;32&amp;quot; HEIGHT=&amp;quot;32&amp;quot;&amp;gt;&apos;+&lt;br&gt;
	&apos;&amp;lt;/EMBED&amp;gt;&amp;lt;/OBJECT&amp;gt;&apos;;&lt;br&gt;
	&lt;br&gt;
&amp;nbsp;&amp;nbsp;MM.my_flash_path = &apos;;
	&lt;br&gt;
	&amp;nbsp;&amp;nbsp;return rtnStr;&lt;br&gt;
}&lt;/p&gt;
&lt;p&gt;As you can see, the height and width are each set to 32, but when the Object
	is run, it will insert the code and Dreamweaver will automatically change those
	values to the proper ones. Plus, Dreamweaver will insert the code using your
	code tag and attribute case settings, so you&apos;ll get lower case
	tags and attributes if that&apos;s what you have set in your preferences.&lt;/p&gt;
&lt;p&gt;Interestingly, if you try to just insert the &lt;span class=&quot;plaincode&quot;&gt;&amp;lt;object&amp;gt;&lt;/span&gt; code and leave off the
	&lt;span class=&quot;plaincode&quot;&gt;&amp;lt;embed&amp;gt;&lt;/span&gt; Dreamweaver will not perform the conversion. If you just insert the
	&lt;span class=&quot;plaincode&quot;&gt;&amp;lt;embed&amp;gt;&lt;/span&gt; tag and no &lt;span class=&quot;plaincode&quot;&gt;&amp;lt;object&amp;gt;&lt;/span&gt; wrapping tag, Dreamweaver will do the proper modifications.&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;Note: Your Object will be displayed in the Insert bar and be clickable, so you&apos;ll need to find some way around this if you only want to only be able to use your SWF code object through your extensions, such as checking for the MM.my_flash_path value in canInsertObject() prior to allowing the Object to run. Generally, you can include &lt;span class=&quot;plaincode&quot;&gt;&amp;lt;!-- MENU-LOCATION=NONE --&amp;gt;&lt;/span&gt; at the top of your extension file to prevent it from being listed in the menus, and it does stop an object from being listed in the Objects panel, however, if you attempt to invoke an object with dom.insertObject() and it has the menu hiding code in it, you&apos;l get an error popped up by Dreamweaver.&lt;/p&gt;

        </description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=405</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=405</guid>
			<pubDate>Sat, 19 Feb 2005 21:24:04 GMT</pubDate>
		</item>
		<item>
			<title>ColdFusion 7 extensions for Dreamweaver MX 2004</title>
			<description>&lt;p&gt;&lt;a href=&quot;http://macromedia.com/software/coldfusion/&quot;&gt;ColdFusion 7&lt;/a&gt; was
	released today, as you&apos;ve probably heard if you&apos;ve been reading the Macromedia
	related blogs today. With the new version comes new tags and attributes, and
	if you want to use them in Dreamweaver MX 2004, you&apos;ll need to get the &lt;a href=&quot;http://www.macromedia.com/software/coldfusion/downloads/&quot;&gt;CF7
	extensions for Dreamweaver MX 2004&lt;/a&gt;. Also part of the suite of extensions
	for CF7 are several other enhancements:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;A datasource editor that allows you to edit and create
				new datasources directly within Dreamweaver&lt;/li&gt;
	&lt;li&gt;CFC filtering for the Components panel to show cfcs only for the current
		site&lt;/li&gt;
	&lt;li&gt;CFC recordsets which allow you the same point and click creation through
		the recordset dialog, and drag and drop functionality from the Bindings panel
		but the extensions allow you to abstract things a bit by placing your
			code into a CFC rather than inlining the code in the page as with the &amp;quot;normal&amp;quot;
			recordsets.&lt;/li&gt;
	&lt;li&gt;Login wizard which brings point and click protection to a web site using
		the cfloginuser tag new to CF7. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To find out more about the &lt;a href=&quot;http://www.macromedia.com/software/coldfusion/productinfo/features/static_tour/development/dw_ext.html&quot;&gt;ColdFusion
7 Extensions for Dreamweaver&lt;/a&gt;.&lt;/p&gt;
        </description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=395</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=395</guid>
			<pubDate>Tue, 08 Feb 2005 03:02:14 GMT</pubDate>
		</item>
		<item>
			<title>Objects for Dreamweaer MX installed with Extension Manager 1.5 need to specify Insert bar changes</title>
			<description>&lt;p&gt;The Dreamweaver MX release changes things a bit when it came to the
Object type of extension. Dreamweaver MX changed the Objects panel to
the Insert bar and also added an XML configuration file that is used to
specify which tab an object is supposed to be placed on. However, with
this change came a change in the way that you needed to package up MXP
files for use with Extension Manager 1.5 that came with DWMX. In
previous releases of Dreamweaver, installing an Object all you had to
do was to specify the folder within the Objects folder you wanted the
object to appear and it would show up on the Objects panel in the
proper category, even creating a new category if you added a brand new
folder.&lt;/p&gt;
&lt;p&gt;That functionality changed a bit with Extension Manager 1.5. You had
to specifically add some code to your MXI file to be able to create
your own category, but you also had to add code to add your Object to a
folder, even if that folder already existed. Fortunately, this was
removed from Extension Manager 1.6 which can be &lt;a href=&quot;http://www.macromedia.com/cfusion/exchange/index.cfm&quot;&gt;downloaded&lt;/a&gt;
found at the Exchange, and is installed with Dreamweaver MX 2004. But
if you have users that are on Dreamweaver MX and you can&apos;t be sure that
they have upgraded their Extension Manager, then you have to add the
code to your MXI files.&lt;/p&gt;
&lt;p&gt;I found all this out when I was creating an Object that I&apos;ll be
releasing here at Community MX, and I didn&apos;t specify the changes that
were to be made to the Insert bar. Worked just fine in Extension
Manager 1.6 and Dreamweaver MX, but not with Extension Manager 1.5. Be
sure to check the &lt;a href=&quot;/category.cfm?catID=1&amp;amp;typeid=5&quot;&gt;Dreamweaver 	extensions page&lt;/a&gt; for the File Name Link extension soon. While you could read the &lt;a href=&quot;http://download.macromedia.com/pub/exchange/mxi_file_format.pdf&quot;&gt;MXI 	format document (PDF)&lt;/a&gt;
and glean a little bit about what you&apos;d need to do, it doesn&apos;t really
cover the exact code you&apos;d need for making changes to the Insert bar
configuration file. See below for code I&apos;m using in the File Name Link
extension. &lt;/p&gt;
&lt;p class=&quot;code&quot;&gt; 	&amp;lt;configuration-changes&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;insertbar-changes&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;insertbar-insert&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;category folder=&quot;Common&quot; id=&quot;DW_Insertbar_Common&quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&quot;FileNameLink&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;button
file=&quot;Common\FileNameLink.htm&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;id=&quot;CMX_Insert_File_Name_Link_FileNameLink&quot;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;image=&quot;Common\FileNameLink.gif&quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&quot;File Name Link&quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/category&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/insertbar-insert&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/insertbar-changes&amp;gt;&lt;br&gt;
&amp;lt;/configuration-changes&amp;gt;&lt;/p&gt;
&lt;p&gt;Reading into this, you can see that you are making a configuration
change, in particular insertbar changes, and it is doing an insert into
the insertbar. There is a category specified, this tells Dreamweaver
which category (tab) of the Insert bar to display your object. If you
want to create a new category, then you&apos;d specify that here, this
example is placing the Object on the Common category. then using the
&amp;lt;button&amp;gt; tag, the file to run and its associated image
is specified, along with a unique ID for the inserted item.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=389</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=389</guid>
			<pubDate>Sat, 29 Jan 2005 16:18:03 GMT</pubDate>
		</item>
		<item>
			<title>Dreamweaver extensibility documentation error: Variable grid control columnWidths attribute</title>
			<description>&lt;p&gt;The Dreameaver extensibility documentation contains an error that
could cause your variable grid to not display the column widths
correctly. The documentation, found at &lt;strong&gt;Help &amp;gt; Extensions &amp;gt;
Extending Dreamweaver &amp;gt; Contents tab &amp;gt; Overview &amp;gt; User
Interfaces for Extensions &amp;gt; Using custom UI controls in extension
&amp;gt; Adding a variable grid control&amp;nbsp;&lt;/strong&gt;, has this code sample:&lt;/p&gt;
&lt;p class=&quot;code&quot; style=&quot;clear: right;&quot;&gt;
&amp;lt;select name=&quot;ParamList&quot; style=&quot;width:500px;&quot;
type=mmparameterlist columns=&quot;Name,SQL Data Type,Direction, 
Default Value,Run-time Value&quot; columnWidth=&quot;100,25,11,&quot; size=6&amp;gt;
&amp;lt;/select&amp;gt;
&lt;/p&gt;
&lt;p&gt;
The widths of the columns are specified in the columnWidth attribute in
the code above, however, this attribute is actually called &lt;span class=&quot;plaincode&quot;&gt;columWidths&lt;/span&gt;. Note the pluralization of the attribute name.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;This error was encounterd by yeudoi in a &lt;a href=&quot;http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=190&amp;amp;threadid=944541&amp;amp;enterthread=y&quot;&gt;thread&lt;/a&gt; at the Macromedia DW Extensions web forum.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=367</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=367</guid>
			<pubDate>Fri, 14 Jan 2005 17:18:05 GMT</pubDate>
		</item>
		<item>
			<title>Transparent PNGs and Dreamweaver toolbars</title>
			<description>&lt;p&gt;Dreamweaver MX 2004 supports transparent PNGs as icons in its
toolbars, unfortunately, Dreamweaver MX doesn&apos;t. MX does support PNGs,
just not transparency. So if you&apos;re looking to have great looking icons
on your toolbar, and you&apos;re also looking to support Dreamweaver MX,
then you may be in for a bit of a surprise. However, all is not lost,
I&apos;ve found a relatively easy way around this.&lt;/p&gt;
&lt;p&gt;
The graphics designer at a company that I was creating a custom toolbar
for really loved the transparent PNGs that he had created, and I must
admit, they did look good. However, the toolbar also needed to support
Dreamweaver MX, and when I broke the news that they would need to give
up the transparent PNGs of MX 2004 just to support MX, the designer and
the company owner, wasn&apos;t too happy. The company asked if there was
anyway short of creating multiple MXPs, one for each supported version
of Dreamweaver, to have the lovely PNG icons for MX 2004 and the
adequate GIF icons for MX.
&lt;/p&gt;
&lt;p&gt;After thinking about things for a bit, I remembered that the toolbar
XML files are initialized after the startup Commands are run. So taking
that a step further, I placed GIF and PNG versions of the icon images
in the toolbars installer MXP, and I created a startup command that
would read in the toolbar XML file for their toolbar and edit the paths
to point to the proper images based upon the version of the application
that the toolbar was installed by by the MXP. Could have been done
either way, but since more potential users were in MX at the time, I
decided to make GIF the default image specified for the toolbar button
icon rather than the PNG version.&lt;/p&gt;
&lt;p&gt;Within the startup Command, a quick check of &lt;span class=&quot;plaincode&quot;&gt;dw.appVersion&lt;/span&gt; to determine if any editing might be necessary (only needed for 7.0 and higher), and if so, the Command then used &lt;span class=&quot;plaincode&quot;&gt;DWfile.read()&lt;/span&gt;
to get the toolbar XML file contents as a string file, a simple RegExp
is performed to see if and references to GIFs were present, and if
there were, then simply replace them with the proper PNG equivalent.
Then resaving the file using &lt;span class=&quot;plaincode&quot;&gt;DWfile.write()&lt;/span&gt; and the transparent PNG problem was solved, as Dreamweaver would then load in the modified file.&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;
Note: For more on startup Commands: take a look at: &lt;a href=&quot;/abstract.cfm?cid=D998F&quot;&gt; Event-Driven Dreamweaver Commands: Startup and Shutdown&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;Now, you may have noticed that according to the instructions above,
that it looks like the toolbar would get read in every time Dreamweaver
is started, and you&apos;d be correct. My first attempt at working about the
PNG issue in toolbars, I wrote out a file that I&apos;d check for its
existence, and if it was there, I&apos;d assume the XML file had been
corrected. Unfortunately, then next time I made an updated version of
the toolbar extension, the &quot;already updated&quot; file was still there,
throwing off the test for rewriting the XML file, leaving me with the
&quot;bad&quot; GIFs when I was expecting the PNG icons. So I went with the read
always method, and only performing edits if I found GIFs present, which
would only happen the first time Dreamweaver is started after an
install, or update, of the toolbar extension. &lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=362</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=362</guid>
			<pubDate>Mon, 10 Jan 2005 21:13:44 GMT</pubDate>
		</item>
		<item>
			<title>Underscores not supported visually in Dreamweaver menu items</title>
			<description>&lt;p&gt;Dreamweaver does not support displaying underscores in the text of a
menu item. I found this out when following up to a question in the
Dreamweaver Extensions group, &lt;a href=&quot;http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=190&amp;amp;threadid=941149&amp;amp;enterthread=y&quot;&gt;How to use the underscore character in a menu extension&lt;/a&gt;. For an example, here is the code for a menu item for the Edit &amp;gt; Prefereneces menu item:&lt;/p&gt;
&lt;p class=&quot;code&quot; &gt; &amp;lt;menuitem id=&quot;DWMenu_Edit_Preferences&quot;
platform=&quot;win&quot; name=&quot;_Preferences...&quot; key=&quot;Cmd+U&quot; enabled=&quot;true&quot;
command=&quot;dw.showPreferencesDialog()&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;Notice the underscore ( &lt;span class=&quot;plaincode&quot;&gt;_&lt;/span&gt; ) in the
name attribute. This tells Dreamweaver that the letter P will be an
access key for this menu item. Becuase of this functionality,
underscores are not supported as being visually displayed as the text
in a menu item. I&apos;ve even tried escapping them by using &lt;span class=&quot;plaincode&quot;&gt;\_&lt;/span&gt; and doubleing up on them using &lt;span class=&quot;plaincode&quot;&gt;__&lt;/span&gt; and neither work. Interestingly, doubleing up does cause an ampersand to be displayed ( &lt;span class=&quot;plaincode&quot;&gt;&amp;amp;&lt;/span&gt; ), but in no case is an underscore displayed.&lt;/p&gt;
&lt;p&gt;Subsequently found out from a Dreamweaver engineer that underscores
are not handled within the text of a menu item due to the access key
functionality. &lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=355</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=355</guid>
			<pubDate>Thu, 06 Jan 2005 21:46:03 GMT</pubDate>
		</item>
		<item>
			<title>Undocumented Dreamweaver: Using Includes for code reuse within a Dreamweaver extension</title>
			<description>&lt;p&gt;If you&apos;ve been working long in the web world you&apos;ve probably become accustomed
	to useing some type of include, be it &lt;a href=&quot;http://www.w3schools.com/asp/asp_incfiles.asp&quot;&gt;#include&lt;/a&gt; with
	ASP, &lt;a href=&quot;http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p63.htm&quot;&gt;cfinclude&lt;/a&gt;	in
	ColdFusion, &lt;a href=&quot;http://us4.php.net/manual/en/function.include.php&quot;&gt;include()&lt;/a&gt; in
	PHP, or other type of server side include. Well, Dreamweaver also offers this
	to you for use within its extensibility layer.&lt;/p&gt;
&lt;p&gt;To include a file into your Dreamweaver extension, use code similar to the
	following:&lt;/p&gt;
&lt;p class=&quot;code&quot; &gt;&amp;lt;!-- #include virtual=&quot;demoInclude.htm&quot; --&amp;gt; &lt;/p&gt;
&lt;p&gt;The included file, in this case &lt;span class=&quot;plaincode&quot;&gt;demoInclude.htm&lt;/span&gt;,
	will be pulled into your extension when it  is run by Dreamweaver. The file
	being included can be referenced using a document relative path,
	or a root relative path. Root relative paths take as their root the &lt;a href=&quot;/blog/index.cfm?newsid=27&amp;amp;blogger=12&quot;&gt;Dreamweaver
	configuration folder&lt;/a&gt;.&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;Because of using the virtual method of including, Dreamweaver
	will automatically compensate for files located in the user&apos;s folder including
	files in the configuration folder for the application.&lt;/p&gt;
&lt;p&gt;You may recognize this type of include as being quite similar to regular SSI
	type of includes, and you&apos;d be correct. However, one difference is that the
	Dreamweaver includes only use &lt;span class=&quot;plaincode&quot;&gt;virtual&lt;/span&gt; and not &lt;span class=&quot;plaincode&quot;&gt;file&lt;/span&gt; references.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=349</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=349</guid>
			<pubDate>Wed, 05 Jan 2005 02:53:26 GMT</pubDate>
		</item>
		<item>
			<title>Undocument Dreamweaver: Run a JavaScript function within the page you&apos;re editing</title>
			<description>&lt;p&gt;I ran across an interesting little Dreamweaver extensibility tidbit this
	evening while reading through the Dreamweaver application install Configuration
	folder. I&apos;m writing it up now, as I&apos;m not sure
	what use it will be for anything in particular any time soon for me, but I
	don&apos;t want to forget it. &lt;/p&gt;
&lt;p&gt; You
		can invoke a JavaScript function in the page that you are editing. You can
	also call multiple functions within the page one after the other. Now, there
	is one pretty big limitation the function you&apos;re calling
	can&apos;t call other functions within the page. A bit limiting, but interesting
	anyway. Here&apos;s how you go about doing it:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;var dom = dw.getDocumentDOM();&lt;br&gt;
	var p = 
dom.parentWindow;&lt;br&gt;
p.runMe();&lt;br&gt;
p.otherFunction();
&lt;/p&gt;
&lt;p&gt;Not milk-in-a-bag neat, but
	neat nonetheless, eh?&lt;/p&gt;
&lt;p&gt;Using &lt;a href=&quot;http://www.communitymx.com/blog/index.cfm?blogger=1&quot;&gt;Tom&lt;/a&gt;&apos;s &lt;a href=&quot;http://www.communitymx.com/abstract.cfm?cid=270FB&quot;&gt;JavaScript
		Evaluation panel&lt;/a&gt; (or the &lt;a href=&quot;http://www.communitymx.com/abstract.cfm?cid=5A2B1&quot;&gt;Sniplet
		version&lt;/a&gt;), or within a Dreamweaver extension of your own, try the code above
		with a document that has the following code:&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;&amp;lt;html&amp;gt;&lt;br&gt;
	&amp;lt;head&amp;gt;&lt;br&gt;
	&amp;lt;title&amp;gt;DW invoke JS demo&amp;lt;/title&amp;gt;&lt;br&gt;
	&amp;lt;script&amp;gt;&lt;br&gt;
	function runMe(){&lt;br&gt;
document.content.innerHTML+= &amp;quot;add content &amp;quot;;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
function otherFunction(){&lt;br&gt;
	alert(&amp;quot;I can alert too&amp;quot;);&lt;br&gt;
	}&lt;br&gt;
&amp;lt;/script&amp;gt;&lt;br&gt;
&amp;lt;/head&amp;gt;&lt;br&gt;
&amp;lt;body&amp;gt;&lt;br&gt;
&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;/body&amp;gt;&lt;br&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;Have fun playing around. Let me know if you come up with how invoking JavaScript
	functions within the document might be good to do. I haven&apos;t thought of anything
	yet that would be useful given the inability to call other functions from within
	the invoked function.&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=334</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=334</guid>
			<pubDate>Thu, 23 Dec 2004 02:29:13 GMT</pubDate>
		</item>
		<item>
			<title>Undocumented Dreamweaver: dreamweaver.setFocus()</title>
			<description>&lt;p&gt;
The topic slipped my mind for a while, but a &lt;a href=&quot;http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=190&amp;threadid=932350&amp;enterthread=y&quot;&gt;thread in the Dreameaver Extensions forum&lt;/a&gt; I participated in brought it back up from the depths. 
&lt;/p&gt;
&lt;p&gt;A while back I was testing out the code I was using to position the cursor for the column portion of the &lt;a href=&quot;/abstract.cfm?cid=F3160&quot;&gt;Go To Line Column&lt;/a&gt;
extension. Code looked perfect, worked great....on paper. But wouldn&apos;t
you know it, Dreamweaver had other things in mind. Funny thing was the
if I added an alert() to try to figure out where the error was
occurring, the error stopped happening. Remove the alert() and back
comes the error.&lt;/p&gt;
&lt;p&gt;Randy, one of the Dreamweaver engineers pointed out that perhaps it
was a focus problem. When the user clicks into the text field to type
in their column to go to, the document could be losing focus. He
pointed out that there is a function used in a couple of places within
Dreamweaver that can handle positioning the focus where you want it to,
&lt;span class=&quot;plaincode&quot;&gt;dreamweaver.setFocus()&lt;/span&gt;. This function takes a string as a parameter, with values of 
&lt;span class=&quot;plaincode&quot;&gt;document&lt;/span&gt;, &lt;span class=&quot;plaincode&quot;&gt;textView&lt;/span&gt;, or &lt;span class=&quot;plaincode&quot;&gt;html&lt;/span&gt;.
document places the focus into design view, textView places focus into
code view, and html places the focus on the Code inspector (F10). All
of these are predicated upon those views being visible at the time
dw.setFocus() is invoked. &lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;Interestingly, the reverse function &lt;span class=&quot;plaincode&quot;&gt;dreamweaver.getFocus()&lt;/span&gt;,
according to the docs, will return document, textView, html, site, or
the name of the floater in focus. However, don&apos;t try site, or a floater
name as the input to dw.setfocus() as you&apos;ll run into an error. Not
sure exactly why that is, but that&apos;s how it works, at least in
Dreamweaver MX 2004. &lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=328</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=328</guid>
			<pubDate>Thu, 16 Dec 2004 03:14:32 GMT</pubDate>
		</item>
		<item>
			<title>Return the Code Navigator to Dreamweaver&apos;s Document toolbar</title>
			<description>&lt;p&gt;
Yet Another Toolbar Item, brought up by installing Dreamweaver on a new system. It alwasy takes a bit to get things settled in correctly. Placing the toolbars properly, grouping panels, &lt;a href=&quot;http://www.communitymx.com/blog/index.cfm?newsid=321&quot;&gt;removing labels form toolbars&lt;/a&gt;, etc.
&lt;/p&gt;
&lt;p&gt;
The Dreamweaver MX 2004 release introduced several &lt;a href=&quot;http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18867&quot;&gt;feature removals&lt;/a&gt;. Among them, but not listed at the link above, the Code Navigation button on the Document toolbar was &quot;removed&quot; in favor of just being placed in the Code inspector (F10). The Code Navigation button allows the user to quickly jump to certain areas within the code of your page based upon the location of functions within the code. For example, if you were working on a page and you saw a call to a JavaScript function, you could use the Code Navigatioin button to jump directly to the function (as long as it was in the same page). That button instilled quite a habit in me I can tell you, expecially when building Dreamweaer extensions as they typically involve a lot of JavaScript functions.
&lt;/p&gt;
&lt;p&gt;
You may have noticed that I put quotes around removed above. The reason for that is the Dreamweaver engineers didn&apos;t actually remove the functionality, they just commented out the small bit of XML code that told Dreamweaver to display the Code Navigation button. Not sure why they decided to do that, but when MX 2004 came out, I was temporarily lost until &lt;a href=&quot;http://dwmommy.com/&quot;&gt;~Angela&lt;/a&gt; told me about the commenting out issue.
&lt;/p&gt;
&lt;p&gt;
So how do you get this button back? At it&apos;s simplest, all you&apos;d need to do would be to uncomment the code for the button within the proper XML file: &lt;span class=&quot;plaincode&quot;&gt;/Configuration/Toolbars/toolbars.xml&lt;/span&gt;**. However, due to to the way that Dreamweaver works with multi-user operating systems, if you have installed an extension that has modifed any of the built in toolbars, then you may find that the commented out code is no longer present within toolbars.xml.
&lt;/p&gt;
&lt;p&gt;
Open up your user copy of toolbars.xml and look for code similar to that listed below. It may be all in one line rather than spaced out. I&apos;d suggest doing a Find for &lt;span class=&quot;plaincode&quot;&gt;DW_CodeNav&lt;/span&gt;, to see if it is present. If it is present and commented out, then uncomment it.
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;
&amp;lt;menubutton id=&quot;DW_CodeNav&quot;
image=&quot;Toolbars/images/MM/codenav.png&quot;
disabledImage=&quot;Toolbars/images/MM/codenav_dis.png&quot;
imageMac=&quot;dwres:18067&quot;
disabledImageMac=&quot;dwres:18080&quot;
tooltip=&quot;Code navigation&quot;
enabled=&quot;dw.getFocus() == &apos;textView&apos; || dw.getFocus() == &apos;html&apos;&quot;
menuID=&quot;DWCodeNavPopup&quot;
update=&quot;onViewChange&quot;/&amp;gt;
&lt;/pre&gt;
&lt;p&gt;
 If this code is not present in your user config toolbars.xml, then copy the code above, and paste it into your toolbars.xml file within the &amp;lt;toolbar&amp;gt; tag with an id of &lt;span class=&quot;plaincode&quot;&gt;DW_Toolbar_Main&lt;/span&gt;. If you want to keep the original placement from Dreamweaver MX, then paste the code just after the &amp;lt;button&amp;gt; tag with an id of &lt;span class=&quot;plaincode&quot;&gt;DW_DocRefresh&lt;/span&gt;. Save toolbars.xml, then close and restart Dreamweaver, and you should now have the Code Navigation button present on your Document toolbar.
&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;
Note: You can also copy the code from the application install configuration folder. As well as the code for the reference button which was also commented out.
&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;
**&lt;a href=&quot;http://www.communitymx.com/blog/index.cfm?newsid=27&amp;blogger=12&quot;&gt;Dreamweaver Configuration files locations&lt;/a&gt;
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=324</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=324</guid>
			<pubDate>Fri, 10 Dec 2004 16:54:33 GMT</pubDate>
		</item>
		<item>
			<title>Removing unwanted labels from Dreameaver toolbar buttons</title>
			<description>&lt;p&gt;Since I&apos;m on the topic of toolbars, I wanted to share a quick space
saving tip for the Document toolbar. When Dreamweaver MX 2004 first
came out, I was disappointed that I didn&apos;t have a preference setting
option to turn of the labels for the View icons. No I don&apos;t mean, &lt;a href=&quot;http://abc.go.com/daytime/theview/&quot;&gt;The View, that trite morning show with insipid hosts&lt;/a&gt;, I mean Code, Design, and Split View buttons on the Dreamweaver Document toolbar.&lt;/p&gt;
&lt;p&gt;
If you&apos;d like to remove the text from those icons, either to save room,
or because you know what they do already, the fix is relatively easy.
Open up &lt;span class=&quot;plaincode&quot;&gt;/Configuration/Toolbars/toolbars.xml&lt;/span&gt;. To Locate this file, check out &lt;a href=&quot;/blog/index.cfm?newsid=27&amp;amp;blogger=12&quot;&gt;Dreamweaver Configuration files locations&lt;/a&gt;.
Check in the User&apos;s folder first for the file. If it isn&apos;t present,
check in the All Users/root folder, then check the application install
folder. In that order, the first one you find, open toolbars.xml. Next,
look for a &lt;span class=&quot;plaincode&quot;&gt;&amp;lt;toolbar&amp;gt;&lt;/span&gt; tag with an
ID of DW_Toolbar_Main. It should be the first one listed. Then, the
first 3 tags are the tags related to the view buttons. Look for the
label attributes and set the value to an empty string. i.e.: &lt;span class=&quot;plaincode&quot;&gt;label=&quot;&quot;&lt;/span&gt;.
&lt;/p&gt;
&lt;p&gt;
Save toolbars.xml, close and restart Dreamwevaer, and your View icons will be label-less.
&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;
As with any configuration edits, make a back up copy. For many of the
Dreamweaver XML files, it is best to give the back up a different file
extension, or save the back up outside of the folder you&apos;re modifying.
&lt;/p&gt;
</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=321</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=321</guid>
			<pubDate>Thu, 09 Dec 2004 15:20:15 GMT</pubDate>
		</item>
		<item>
			<title>Keeping your toolbars visible in Dreamweaver</title>
			<description>&lt;p&gt;
When you install some extensions, Dreamweaver has a nasty habit of
resetting your toolbars. So if you have the Standard toolbar visible,
you may find after installing an extension that the toolbar has been
turned off and isn&apos;t visible any more. There may be more situations
where this happens, but I&apos;ve seen it happen when you install an
extension that modifies the menu system, if you install a toolbar
extension, or if you reload extensions.
&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;To see your toolbars getting reset, CTRL+Click on the
Options menu of the Insert bar when it is Tab layout, and select Reload
Extensions. Please note that resetting your toolbars will cause them to
stack up vertically, turn off any toolbars that are not set to be
visible by default, and the toolbars will get reattached to the
document window, if you have moved your toolbars off of it.
&lt;/p&gt;
&lt;p&gt;While you can&apos;t stop Dreamweaver from resetting your toolbars, you
can stop it from turning off the toolbars that you want to remain
visible:
&lt;/p&gt;
&lt;p&gt;
Go to your &lt;a href=&quot;/blog/index.cfm?newsid=27&amp;amp;blogger=12&quot;&gt;user configuration folder&lt;/a&gt; and open up &lt;span class=&quot;plaincode&quot;&gt;/Toolbars/toolbars.xml&lt;/span&gt;.
If you do not have toolbars.xml in your user folder, then go into the
application install folder and open that toolbars.xml file. Back up the
file, by saving a copy with a different file extension, or save a back
up copy in another folder. Within toolbars.xml, look for the
&amp;lt;toolbar&amp;gt; tag with an ID of &lt;span class=&quot;plaincode&quot;&gt;Standard_Toolbar&lt;/span&gt;. Change the value of the &lt;span class=&quot;plaincode&quot;&gt;initiallyVisible&lt;/span&gt; attribute to &lt;span class=&quot;plaincode&quot;&gt;&quot;true&quot;&lt;/span&gt;. Save toolbars.xml and restart Dreamweaver.
&lt;/p&gt;
&lt;p&gt;
If you have other toolbar extensions installed, and they disapper, then
you can change the initiallyVisible attribute to true and they won&apos;t
disappear when your toolbars are reset. Some toolbar extensions will
install their own XML file into the Toolbars folder. You&apos;ll need to
open that file in order to perform the necessary edits.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=320</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=320</guid>
			<pubDate>Mon, 06 Dec 2004 16:08:29 GMT</pubDate>
		</item>
		<item>
			<title>Adding a preview image for a page design in Dreamweaver&apos;s New Document Dialog</title>
			<description>&lt;p&gt;
While building the &lt;a href=&quot;http://www.communitymx.com/abstract.cfm?cid=94f0c&quot;&gt;Seattle JumpStart&lt;/a&gt; extension, I ran into a small issue. The previous extension I had made that added an item to the New Document dialog for Dreamweaver, the page design previewed just fine. Unfortunately, the Seattle pages used some styling that didn&apos;t render as well as a browser does. And because Dreamweaver uses it&apos;s own rendering engine for the display in the Preview area, the preview of Seattle pages didn&apos;t show up as well as they could. Fortunately, Dreamweaver engineers built in a method of allowing the extension developer the ability to specify a preview image. 
&lt;/p&gt;
&lt;p&gt;
As with the rest of the options for a page design extension, the setting for the preview is stored within a Design Note for the page design in question. So to display the image seattle.gif that is saved in the same folder as the file that it is representing, the following code has to be added within the &amp;lt;info&amp;gt; tag:
&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;
&amp;lt;infoitem key=&quot;mm_new_doc_preview&quot; value=&quot;seattle.gif&quot; /&amp;gt;
&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;Design Notes are saved in a _notes folder within the folder that the file resides. Design Notes are named by taking their associated file and adding a .mno extension to the end. For exmaple, the home page for Seattle is called seattle.html within the files for the New Document dialog (for Seattle: Configuration/BuiltIn/CMX JumpStarts/seattle/ ), so it&apos;s Design Note file would be named &lt;span class=&quot;plaincode&quot;&gt;seattle.html.mno&lt;/span&gt; in a _notes folder within the seattle folder, or Configuration/BuiltIn/CMX JumpStarts/seattle/_notes/seattle.html.mno
&lt;br /&gt;&lt;br /&gt;
Be aware that _notes folders are not displayed within the Dreamweaver Files panel, so a quick way to find the Design Notes files is through through your file manager.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=305</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=305</guid>
			<pubDate>Wed, 24 Nov 2004 04:58:15 GMT</pubDate>
		</item>
		<item>
			<title>Copy Dependent Files dialog does not appear when creating a page from a page design</title>
			<description>&lt;p&gt;While creating the extensions that add the various CMX JumpStarts to
the Dreamweaver New Document dialog, I ran into a problem where the
Copy Dependent Files dialog that specifies the location to save the
associated files for a page design did not appear. Turns out that
Dreamweaver is a little picky regarding the location of defined sites
and the New Document dialog. Below you&apos;ll find the note that is
included in the article that accompanies at least the first few CMX
Jumpstarts packages:
&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;Note: The Copy Dependent Files dialog may not appear on
your system if you have one or more sites defined that point to the
Dreamweaver application, or user configuration folders. This tip will
generally only be applicable to extension developers. Our experience
has found that to get the Copy Dependent files dialog to reappear, you
have to remove the definitions for your configuration sites (remember
to export first), and restart Dreamweaver.
&lt;/p&gt;
&lt;p&gt;Upon further testing, it appears that the issue is triggered by
having a site that is defined that points to the user&apos;s configuration
folder. Haven&apos;t tried it, but given Dreamweaver&apos;s &lt;a href=&quot;/blog/index.cfm?newsid=27&amp;amp;blogger=12&quot;&gt;multiple configuration folders&lt;/a&gt;,
a site defined that points to the All Users config for a Windows users,
or the root user folder for a Mac-head, is likely to trigger this issue
as well.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=300</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=300</guid>
			<pubDate>Mon, 22 Nov 2004 17:13:27 GMT</pubDate>
		</item>
		<item>
			<title>Undocumented Dreamweaver: Take out the garbage - dw.forceGarbageColletion()</title>
			<description>&lt;p&gt;
A &lt;a href=&quot;http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=190&amp;amp;threadid=921599&amp;amp;enterthread=y&quot;&gt; thread on memory leaks&lt;/a&gt; in the &lt;a href=&quot;http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=190&quot;&gt;DW extensions group&lt;/a&gt; a couple of days ago caused me to remember a undocumented function that &lt;a href=&quot;/blog/index.cfm?blogger=35&quot; paul=&quot;&quot; boon=&quot;&quot;&gt;&lt;/a&gt; told me about a couple of years ago: &lt;span class=&quot;plaincode&quot;&gt;dw.forceGarbageCollection()&lt;/span&gt;.
He mentioned it to me when I was working on an extension that would do
a lot of site-wide processing that would take up a lot of memory and
frequently caused Dreamweaver to crash on larger sites (1500+ files).
&lt;/p&gt;
&lt;p&gt;
Essentially, &lt;span class=&quot;plaincode&quot;&gt;dw.forceGarbageCollection()&lt;/span&gt; is supposed to cause Dreamweaver to clean up any memory the application was using to store variables that aren&apos;t being used any more. Paul told me that the function doesn&apos;t actually force it to run at that moment, just that it tells DW that it should try cleaning up its memory usage. Any attempt to clean up the used memory will typically occur when DW is idle, so as to not be processing that when it should be processing the user&apos;s instructions. 
&lt;/p&gt;

&lt;p&gt;Turns out that the function didn&apos;t help me any, as I wasn&apos;t freeing up references to objects being stored in memory, so once I cleaned up my code the problem went away, but the poster in the memory leak thread above, it worked just dandy. Thought you&apos;d like to be aware of it in case you&apos;re running into Dreamweaver memory usage problems.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=298</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=298</guid>
			<pubDate>Fri, 19 Nov 2004 04:59:19 GMT</pubDate>
		</item>
		<item>
			<title>Dreamweaver Drag Layer behavior broken in Mozilla with valid doctype (solution provided)</title>
			<description>&lt;p&gt;Due to &quot;old&quot; coding, the Drag Layer behavior with Dreamweaver (up to
and including DWMX2004) does not work in Mozilla, and likely other
standards compliant browsers, when the page has a valid doctype, but
works in IE6 and probably earlier. There are two methods to fix this
problem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Put the browser into quirks mode by deleting, or &quot;breaking&quot; the doctype&lt;/li&gt;
&lt;li&gt;Fix the broken code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
What with everyone clamoring to be valid these days, I&apos;ll address the second method, fixing the code. Open up:&lt;br&gt;
{dw install folder}/Configuration/Behaviors/Actions/Drag Layer.js&lt;br&gt;
on my Windows XP Pro system, this is at: &lt;br&gt;
C:/Program Files/Macromedia/Dreamweaver MX 2004/Configuration/Behaviors/Actions/Drag Layer.js&lt;/p&gt;
&lt;p class=&quot;tip&quot;&gt;Note: See &lt;a href=&quot;/blog/index.cfm?newsid=27&amp;amp;blogger=12&quot;&gt;Dreamweaver Configuration files locations&lt;/a&gt; for a location near you.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;Drag layer.js&lt;/strong&gt; go to line 161 and change it from:&lt;br&gt;
  &lt;span class=&quot;plaincode&quot;&gt;else if (NS6){style.left = newLeft; style.top = newTop;}&lt;/span&gt;&lt;br&gt;
to:&lt;br&gt;
&lt;span class=&quot;plaincode&quot;&gt;else if (NS6){style.left = newLeft+&apos;px&apos;; style.top = newTop+&apos;px&apos;;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then go down to line 174 and change it from:&lt;br&gt;
  &lt;span class=&quot;plaincode&quot;&gt;else if (NS6) {style.left = MM_targL; style.top = MM_targT;}&lt;/span&gt;&lt;br&gt;
to:&lt;br&gt;
&lt;span class=&quot;plaincode&quot;&gt;else if (NS6) {style.left = MM_targL+&apos;px&apos;; style.top = MM_targT+&apos;px&apos;;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The first change allows the specified layer to be dragged, and the
second change allows the layer to snap to a location when dropped if
that option is selected within the Drag Layer behavior dialog. Notice
in both cases, all we added the units to the values being assigned.&lt;/p&gt;
&lt;p&gt;Close and restart Dreamweaver and it should happily add in the correct code to run in valid pages for Mozilla.&lt;/p&gt;
&lt;p class=&quot;warning&quot;&gt;
Please note that Safari doens&apos;t seem to like Drag Layer. It has something to do with Safari being identified as a Netscape browser by the script, and routing of the drag event. Anyway, Safari won&apos;t let you drag a layer using this behavior.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=285</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=285</guid>
			<pubDate>Tue, 09 Nov 2004 20:30:25 GMT</pubDate>
		</item>
		<item>
			<title>Drag and Drop from Dreamweaver&apos;s Components panel triggered when drag is started</title>
			<description>&lt;p&gt;
Just making a note for myself and others that may run into it...
&lt;/p&gt;
&lt;p&gt;
getCodeViewDropCode() in /Configuration/Components/Common/CFCs/CFCs.js  runs when the drag is started and not when the dragged item is dropped. Not so much a big deal really, but if you wanted to pop up a dialog after the user had selected the drop point, you&apos;re pretty much outta luck. Well, at least I was when I tried using this function to show a dialog to allow the user to make a selection or two related to the CFC being dragged, and then generate the code to drop. ;-).
&lt;/p&gt;
&lt;p&gt;
If anyone knows if there is a way to access the drop event from the Components panel, please leave a comment. Thanks.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=271</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=271</guid>
			<pubDate>Mon, 01 Nov 2004 15:20:50 GMT</pubDate>
		</item>
		<item>
			<title>Font chooser within a Dreamweaver extension</title>
			<description>&lt;p&gt;
While working on an extension that I&apos;m hoping will combine Dreamweaver and Flash I needed to have the user select the font that they want to use. So I used the API call dw.getSystemFontList() to grab a list of fonts to display to the user, and then dropped the list of fonts into a select list to give the user their choice of fonts.
&lt;/p&gt;
&lt;p&gt;
To do this, add the ListControl class to your extension (see &lt;a href=&quot;http://www.communitymx.com/blog/index.cfm?newsid=138&amp;blogger=12&quot;&gt;Fill a list with defined site names&lt;/a&gt; for how to do that), then add a select list to your extenion dialog, give it a name of &quot;fontList&quot; and then in your initilization function, add the following code:
&lt;/p&gt;
&lt;p class=&quot;code&quot;&gt;
var fonts = dw.getSystemFontList(&apos;all&apos;);&lt;br&gt;
FONT_LIST = new ListControl(&apos;fontList&apos;);&lt;br&gt;
FONT_LIST.setAll(fonts);&lt;br&gt;
processFontChange();
&lt;/p&gt;
&lt;p&gt;
Voila, instant font list. getSystemFontList() can also take &apos;TrueType&apos; to list only the TrueType fonts on the user&apos;s system.
&lt;/p&gt;</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=242</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=242</guid>
			<pubDate>Sat, 23 Oct 2004 16:50:56 GMT</pubDate>
		</item>
		<item>
			<title>Extension Manager crashing on Mac OSX</title>
			<description>&lt;p&gt;Adding this entry because I&apos;ve seen a number of people come across this bug recently.&lt;/p&gt;
&lt;p&gt;
What happens is that when Extension Manager is starting it crashes, and says that there was an unspecified error. This is happening because of a bug in either the way Extension Manager reads in the installed extensions within Dreamweaver or in the way that it installs Dreamweaver extensions that causes the reading in of extensions to break. I&apos;ve not seen this issue with non-Dreamweaver extensions, but I&apos;ve seen the crashing reported when installing an extension into another product such as Flash through Extension Manager. Apparently this has been a problem since Dreamweaver MX, and continues on with Dreamweaver MX 2004 on Mac OSX as there is a TechNote on the issue: &lt;a href=&quot;http://www.macromedia.com/support/dreamweaver/ts/documents/emcrash_upgrade.htm&quot;&gt;Extension manager crashes upon launch after installing extension to Dreamweaver MX 2004&lt;/a&gt;. If EM is crashing on you, then please give it a read.
&lt;/p&gt;
&lt;p&gt;
There is change to the process described with the TechNote that I think would be good to make. I would suggest moving one MXI file at a time into the &quot;Hidden&quot; folder, starting with the extension that was installed most recently and moving backwards, testing EM on each move to see exactly which MXI file EM is choking on. When you find the one, then start moving back the other MXI files making sure to again see if EM crashes. 
&lt;/p&gt;
&lt;p&gt;
As an extension developer, I think it fair to mention that this is not the responsibility of any particular extension; this is an issue with Extension Manager itself. Reason being is that I&apos;ve seen this issue reported a number of times over the past year or so, and I&apos;ve yet to see the same MXI file implicated more than once.&lt;/p&gt;
</description> 
			<link>http://www.communitymx.com/blog/index.cfm?newsid=240</link>
			<guid isPermaLink="true">http://www.communitymx.com/blog/index.cfm?newsid=240</guid>
			<pubDate>Sat, 16 Oct 2004 18:11:50 GMT</pubDate>
		</item>
	</channel>
</rss>


