Go to “C:Program FilesAdobeAdobe Dreamweaver CS3configuration”
Open “Extensions.txt” and on the first line at the very end add CTP separated by commas as shown below:
Add CTP to the “:PHP Files” line as shown below
Open “DocumentTypes” folder and edit the “MMDocumentTypes.xml” file with Notepad.
Search for the line which has an id “PHP_MySQL” and add the CTP file extensions to both the “winfileextension” and “macfileextension” as shown below:
Finally go to “C:Documents and Settingsuser_nameApplication DataAdobeDreamweaver 9Configuration”.
Open “Extensions.txt” and add same things as before.
In Windows 7 Application Data is not an actual folder. It is a Junction which is only there for backward compatibility. A junction is a shortcut that redirects file, folder and application to a different location.
Go to C:Usersuser_nameAppDataRoaming folder
Note: Older versons of Cake PHP used .THTML extensions.Add THTML along with CTP if you want to use older verson of Cake PHP.