Home > Tools > Add Dreamweaver Extensions

Add Dreamweaver Extensions

Add Dreamweaver Extensions :

Programming To colour-code a new extension ( .ctp CakePHP templates for example ), edit the file C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\Extensions.txt and add the .ctp extension to the first line ( All Documents ) and the PHP Files section : PHP,PHP3,PHP4,PHP5,TPL,CTP:PHP Files

Next, edit C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\DocumentTypes\MMDocumentTypeDeclarations.xml and add the .ctp extension to the appropriate section – in this case : winfileextension=”php,php3,php4,php5,ctp” macfileextension=”php,php3,php4,php5,ctp” Restart dreamweaver and you should be good to go.

The paths will be a little different in CS2 and below, probably under C:\Program Files\Macromedia\Dreamweaver

Advertisements
Categories: Tools
  1. No comments yet.
  1. No trackbacks yet.

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: