dreamweaver extention changing way!!

Dreamweaver 8:

On windows XP :

C:\Program Files\Macromedia\Dreamweaver 8\Configuration\DocumentTypes\MMDocumentTypes.xml

Search the following codes with (<documenttype id="PHP_MySQL" ) and change it as below:

<documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic" winfileextension="php,php3,php4,php5,ctp,thtml" macfileextension="php,php3,php4,php5,,ctp,thtml" file="Default.php" writebyteordermark="false">

Dreamweaver CS4:

For this we are in need to edit two files:
1. On Vista, this is in your USER directory, NOT the one in the main Dreamweaver directory.

E.g.: C:\Users\[Your Username]\AppData\Roaming\Adobe\Dreamweaver CS4\en_US

Edit the first line that defines all the documents.
Add, ",CTP,THTML" before ":All Documents" (note the capital letters)

Find the PHP line and add ",CTP,THTML" before ":PHP Files"

and Save this file.

2.Now go here: C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration

If you try to edit this on Vista, it will say that you don’t have permission – right click on the file, set the security permissions to allow you to edit it.

Search for "<documenttype id="PHP_MySQL" "

On this line, there are two parameters: 1.winfileextension="php,php3,php4,php5?
– Add ",ctp,thtml" to this parameter

2. macfileextension="php,php3,php4,php5?
– Add ",ctp,thtml" to this parameter

and Save this file.To see the changes effective you have to restart Dreamweaver.You’ll now notice that your *.ctp files have an icon and isn’t a blank white file.You can double click on them and they will open up, and you can view it in Design view.



One thought on “dreamweaver extention changing way!!

  1. Trackback December 30, 2009 at 10:03 pm


    [..]Articulo Indexado Correctamente[..]…

Comments are closed.

%d bloggers like this: