Configuring Dreamweaver 8 for Editing .thtml

To configure Dreamweaver 8 for treating a .thtml file as a php file, open dreamweaver_installation_folder\Configuration\DocumentTypes\MMDocumentTypes.xml with any text editor and find out the line containing winfileextension="php,php3,php4,php5".

Now add ‘,thtml’ at the end of this string like this: winfileextension="php,php3,php4,php5,thtml".

That’s all, Dreamweaver will now code-color .thtml files as it does for .php files. Thank you!


About this entry