To open and read the .phtml (Zend Framework) .thtml or .ctp (CakePHP) files in Dreamweaver just like the .php files follow these steps -1. Open the file - C:\Program Files\Macromedia\{Dreamweaver Folder}\Configuration\DocumentTypes\MMDocumentTypes.xml (Replace C: with the drive name where your OS is installed)2. Search "php,php3,php4,php5" (It will be line # 75). After php5 add the extension. Like "php,php3,php4,php5,phtml,thtml,ctp". There will be two occurrences. winfileextension for Windows and macfileextension for Macs.3. Restart Dreamweaver and use these files just like php.
