To Configure Dreamweaver 3 to Opening CakePHP .thtml CTP Files you need to edit following three files:-
- Extensions.txt( program files)
- Extensions.txt(document and settings)
Open “Extensions.txt” and add “THTML” and “CTP” separated by commas, so the line should read:
Similarly add these two extensions to the “:PHP Files” line.
Next open the “DocumentTypes” folder and edit the “MMDocumentTypes.xml” file, just open it up using notepad or wordpad. Search for the line which has an id “PHP_MySQL” and add the THTML/CTP file extensions to both the “winfileextension” and “macfileextension” so the line should read:
above two files editing will enable you to open the file in dreamweaver but if you want to enable dreamweaver search for these two extentions then do the final step as follows:
An another version of the “Extensions.txt” which is located in your “Documents and Settings” Folder e.g. in my case this is “C:\Documents and Settings\khalidrauf\Application Data\(Adobe or Macromedia)\(Adobe )Dreamweaver(version)\configuration” just add the very same things you inserted earlier in “Extensions.txt” .