By default Dreamweaver CS 4 doesn't recognize .ctp and .thtml files. To enable Dreamweaver CS4 for working with these, requires little modification in two configuration files.
1. In Windows 7/Vista open the following file:
C:\Users\[Username]\AppData\Roaming\Adobe\Dreamweaver CS4\en_US\Configuration\Extensions.txt
Edit the line that defines all the document types. Add following before the :All Documents. This must be in capital letters.
,CTP,THTML
Also in the same file, find the line starting with PHP,PHP3,PHP4 and add the ,CTP,THTML befoer :PHP Files. Note the capital letters.
2. Open the C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\MMDocumentTypes.xml with notepad or some other standard text editor. Find the
Restart Dreamwear and these files will work fine with Dreamweaver CS4.