Tuesday, January 12, 2010

ctp,thtml configure in dreamweaver for cakephp

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”>


to


<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.

1 comment: