2009年11月19日 星期四

Enables your Dreamweaver to recognize thtml and ctp

1. Modify C:\Documents and Settings\user_name\Application Data\Macromedia\Dreamweaver 8\Configuration\Extensions.txt 
Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”

2. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\Extensions.txt 

Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”

3. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\DocumentTypes directory\MMDocumentTypes.xml

Append thtml, ctp in below section:
< documenttype id="PHP_MySQL" writebyteordermark="false" file="Default.php" macfileextension="php,php3,php4,php5,thtml,ctp" winfileextension="php,php3,php4,php5,thtml,ctp" internaltype="Dynamic" servermodel="PHP MySQL" >

沒有留言:

張貼留言