how to configure ctp,thtml in dreamweaver8

in General Category / No Comments

Hi friends,

ctp and thtml extension files, are not properly displayed  at dreamweaver, if we want to code difference between php codes and normal text, then  we have to configure.

in C:/program files/dreamweaver/configuration/documentTypes/

open the file MMDocumentTypes.xml

<documenttype id=”PHP_MySQL” servermodel=”PHP MySQL” internaltype=”Dynamic” winfileextension=”php,php3,php4,php5l” macfileextension=”php,php3,php4,php5″ file=”Default.php” writebyteordermark=”false”>


<documenttype id=”PHP_MySQL” servermodel=”PHP MySQL” internaltype=”Dynamic” winfileextension=”php,php3,php4,php5,inc,module,ctp,thtml” macfileextension=”php,php3,php4,php5,inc,module,ctp,thtml” file=”Default.php” writebyteordermark=”false”>

Once close the dreamweaver and open that file in dreamweaver that will display code difference php code and normal.

With more than 8 years experience in PHP and Founder of Anil Labs, a blog for PHP and related posts. contributed posts regarding CodeIgniter, CakePHP and Learn PHP online ... Contact :

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>