<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael Ong &#124; On9 Systems &#187; adobe</title>
	<atom:link href="http://www.on9systems.com/tag/adobe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.on9systems.com</link>
	<description>Passionate about Mobile &#38; Web Application Development</description>
	<lastBuildDate>Wed, 28 Dec 2011 02:29:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Getting Dreamweaver CS4 to code highlight .phtml files</title>
		<link>http://www.on9systems.com/2009/09/04/getting-dreamweaver-cs4-to-code-highlight-phtml-files/</link>
		<comments>http://www.on9systems.com/2009/09/04/getting-dreamweaver-cs4-to-code-highlight-phtml-files/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 08:26:41 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.on9systems.com/2009/09/04/getting-dreamweaver-cs4-to-code-highlight-phtml-files/</guid>
		<description><![CDATA[I&#8217;m currently working on a Magento project which requires some custom template work and with Dreamweaver, it doesn&#8217;t color code the syntax for .phtml files even though they are just php files in disguise. A simple solution would have been to allow different extensions to be specified in the preferences but of course, hiding it [...]


Related posts:<ol><li><a href='http://www.on9systems.com/2010/05/13/fix-for-dreamweaver-cs-4-server-model-ssi-htm-has-configuration-information-that-is-invalid/' rel='bookmark' title='Fix for Dreamweaver CS 4 : Server Model SSI.htm: has configuration information that is invalid'>Fix for Dreamweaver CS 4 : Server Model SSI.htm: has configuration information that is invalid</a></li>
<li><a href='http://www.on9systems.com/2010/04/08/quick-way-to-create-patch-files-based-on-modified-date-with-xcopy/' rel='bookmark' title='Quick way to create patch files based on modified date with xcopy'>Quick way to create patch files based on modified date with xcopy</a></li>
<li><a href='http://www.on9systems.com/2007/07/25/moving-from-webcollab-to-activecollab-for-project-management/' rel='bookmark' title='Moving from WebCollab to activeCollab for project management'>Moving from WebCollab to activeCollab for project management</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on a <a target="_blank" href="http://www.magentocommerce.com">Magento</a> project  which requires some custom template work and with Dreamweaver, it doesn&#8217;t color code the syntax for .phtml files even though they are just php files in disguise. A simple solution would have been to allow different extensions to be specified in the preferences but of course, hiding it away in a obscure config file is more fun. </p>
<p>The file to look for : (<i>check your installation path</i>)<br />
<blockquote>C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\<b>MMDocumentTypes.xml</b></p></blockquote>
<p>Search for this code snippet :<br />
<blockquote>&lt;documenttype id=&#8221;PHP_MySQL&#8221; servermodel=&#8221;PHP MySQL&#8221; internaltype=&#8221;Dynamic&#8221; winfileextension=&#8221;php,php3,php4,php5&#8243; macfileextension=&#8221;php,php3,php4,php5&#8243; file=&#8221;Default.php&#8221; writebyteordermark=&#8221;false&#8221;&gt;</p></blockquote>
<p>and change it to :<br />
<blockquote>&lt;documenttype id=&#8221;PHP_MySQL&#8221; servermodel=&#8221;PHP MySQL&#8221; internaltype=&#8221;Dynamic&#8221; winfileextension=&#8221;php,php3,php4,php5<b>,phtml</b>&#8221; macfileextension=&#8221;php,php3,php4,php5<b>,phtml</b>&#8221; file=&#8221;Default.php&#8221; writebyteordermark=&#8221;false&#8221;&gt;</p></blockquote>
<p>Restart Dreamweaver and say goodbye to the wall of black text! This will also work for any other syntax that needs to be highlighted and isn&#8217;t represented by the usual file extension, you&#8217;ll just need to find the correct documenttype id. </p>
<p></p>


<p>Related posts:<ol><li><a href='http://www.on9systems.com/2010/05/13/fix-for-dreamweaver-cs-4-server-model-ssi-htm-has-configuration-information-that-is-invalid/' rel='bookmark' title='Fix for Dreamweaver CS 4 : Server Model SSI.htm: has configuration information that is invalid'>Fix for Dreamweaver CS 4 : Server Model SSI.htm: has configuration information that is invalid</a></li>
<li><a href='http://www.on9systems.com/2010/04/08/quick-way-to-create-patch-files-based-on-modified-date-with-xcopy/' rel='bookmark' title='Quick way to create patch files based on modified date with xcopy'>Quick way to create patch files based on modified date with xcopy</a></li>
<li><a href='http://www.on9systems.com/2007/07/25/moving-from-webcollab-to-activecollab-for-project-management/' rel='bookmark' title='Moving from WebCollab to activeCollab for project management'>Moving from WebCollab to activeCollab for project management</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.on9systems.com/2009/09/04/getting-dreamweaver-cs4-to-code-highlight-phtml-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 5/22 queries in 0.021 seconds using disk: basic
Object Caching 515/526 objects using disk: basic

Served from: www.on9systems.com @ 2012-02-05 01:46:15 -->
