I use the .html extension for many of my php files for varying reasons. I had given up on getting Dreamweaver to color the code properly until I stumbled upon this post:
http://groups.google.com/group/macromed ... raot&pli=1First, copy this file from the app config folder:
C:\Program Files\Adobe\Adobe Dreamweaver
CS3\configuration\CodeColoring\PHP.xml
To the user config folder:
C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver
9\Configuration\CodeColoring\
Then open PHP.xml in your favorite editor. You need to add HTML to all
of the doctype lists Change every occurrence of this:
doctypes=”PHP_MySQL”
to be:
doctypes=”PHP_MySQL,HTML”
Save and close. If DW is running, close it. Now restart DW.
Worked like a charm. I’m using OSX, so just did a search for the appropriate files and found the folder structure to be about the same as above.
Voila. Thank you Randy Edmunds!