Changing and Adding File Extensions Recognized by Dreamweaver CS4

Adobe has a nice document that somewhat explains how to get Dreamweaver to recognize files by their extension, but it hasn’t been updated for cs4 yet (or maybe they moved it?)

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410

For CS4, edit the Extensions.txt file found in C:\Documents and Settings\<username>\Application Data\Adobe\Dreamweaver CS4\en_US\Configuration

On the first line, find PHP5 and add ,PHP6,PHTML after it

Then hop down to the line that details the PHP Files and make it look like this:

PHP,PHP3,PHP4,PHP5,PHP6,PHTML,TPL:PHP Files

Additionally, the good people over at Magento (nice eCommerce platform BTW) have an article detailing how to do this as well:

http://www.magentocommerce.com/wiki/how-to/working_with_phtml_and_dreamwearver

5 thoughts on “Changing and Adding File Extensions Recognized by Dreamweaver CS4”

  1. You need to run your notepad as administrator, just go to the c:\windows, find notepad.exe, rightclick and choose run as administrator, in notepad open your file and make your changes and save.

  2. just loaded windows 7 and it seems impossible to edit these files — i get access denied — DW is closed

    ideas on how do add extensions?

    tried with notepad

    HELP

  3. You forgot to mention the most important part; also editing the MMDocumentTypes.xml file..

    Just spent the best part of an hour trying to figure out why DW wasn’t recognizing my files until I clicked on the Magento link..

  4. Add this to your site… It’s more than 500 Dreamweaver CS4 Extensions. Here is the edonkey / Emule link:
    Just copy and paste the link below over emule or edonkey or select and press CTRL+C 2 times with the software open…

    ed2k://|file|Dreamweaver%20CS4%20Extensions%20-%204level,%20DMXzone,%20Flev,%20Kaosweaver,%20PVII,%20TrioS,%20WebAssist,%20Various,%20EN%20-%20PT%20-%20ES%20-%20FR%20(2009).rar|346009322|AA1ED299ECB03FA9924B97E74813F78F|h=JHH2JDJUY6N5EVZMUPWZSEXXWRKOTSR6|/

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top