If you are using cakePHP you will find files .thtml and .ctp and to open files with extension .thtml and .ctp in Adobe Dreamweaver you need to follow these steps:
1. Open MMDocumentTypes.xml file inside folder (C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration\DocumentTypes)
2. In line 67 which has id, PHP_MySQL add thtml/ctp extension on, winfileextension=”php,php3,php4,thtml,ctp” macfileextension=”php,php3,php4,thtml,ctp”
3. Open file Extensions.txt inside folder (C:\Program Files\Macromedia\Dreamweaver MX 2004\Configuration)
4. Add THTML,CTP at the first line seperated by comma at the very end so the command will look like ,THTML,CTP:All Documents
5. Similarly add these two extensions to the “:PHP Files” line. so the command will look like, PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files
6. Open file Extensions.txt inside folder (C:\Documents and Settings\Admin\Application Data\Macromedia\Dreamweaver MX 2004\Configuration)
7. Add THTML,CTP at the first line seperated by comma at the very end so the command will look like ,THTML,CTP:All Documents
8. Similarly add these two extensions to the “:PHP Files” line. so the command will look like, PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files
9. Finally, restart your dreamweaver and you should be able to run the files.
Original post can be found here: http://www.sailen.com/2009/02/27/how-to-open-thtml-and-ctp-files-in-dreamweaver-cakephp-files/