Extensions.txtにthtmlとctpを追加する。(1行目)
■Extensions.txtの場所
/users/○○○(ユーザ名)/Library/Application_Support/Adobe/Dreamweaver_CS4/ja_JP/Configration/Extensions.txt
このままだとphpの部分が赤くなってくれないので次のファイルにもthtmlとctpを追加する。(75行目)
■MMDocumentTypes.xmlの場所
/Applications/Adobe_Dreamweaver_CS4/configuration/DocumentTypes/MMDocumentTypes.xml
最後にDreamweaverを再起動して.ctpもしくは.thtmlを開いてみよう!