netRadiant

Open phtml, thtml, ctp, tpl Files In Dreamweaver

Posted by: netradiant on: December 1, 2008

To open and read the .phtml (Zend Framework), .thtml,.ctp (CakePHP), .tpl(Smarty) files in Dreamweaver just like the .php files follow these steps -

1. Open the file – C:\Program Files\Macromedia\{Dreamweaver Folder}\Configuration\DocumentTypes\MMDocumentTypes.xml (Replace C: with the drive name where your OS is installed)

2. Search “php,php3,php4,php5″ (It will be line # 75). After php5 add the extension. Like “php,php3,php4,php5,phtml,thtml,ctp, tpl”. There will be two occurrences. winfileextension for Windows and macfileextension for Macs.

3. Restart Dreamweaver and use these files just like php.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Main Pages

netRadiant Inc. Twitter

Calendar

December 2008
M T W T F S S
« Nov   Jan »
1234567
891011121314
15161718192021
22232425262728
293031  
Follow

Get every new post delivered to your Inbox.