Tuesday, August 10, 2010

Edit CakePHP files in Dreamweaver CS 4

By default Dreamweaver CS 4 doesn't recognize .ctp and .thtml files. To enable Dreamweaver CS4 for working with these, requires little modification in two configuration files.

1. In Windows 7/Vista open the following file:

C:\Users\[Username]\AppData\Roaming\Adobe\Dreamweaver CS4\en_US\Configuration\Extensions.txt

Edit the line that defines all the document types. Add following before the :All Documents. This must be in capital letters.

,CTP,THTML

Also in the same file, find the line starting with PHP,PHP3,PHP4 and add the ,CTP,THTML befoer :PHP Files. Note the capital letters.

2. Open the C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\DocumentTypes\MMDocumentTypes.xml with notepad or some other standard text editor. Find the

Restart Dreamwear and these files will work fine with Dreamweaver CS4.

4 comments:

  1. I would really like your post ,it would really explain each and every point clearly well thanks for sharing.
    1986 Ford Pick-up Truck AC Compressor

    ReplyDelete
  2. Hey buddy that was a gud post
    I have gone through your site information and it is the same opportunity that I was looking for. The facilities, the process that what you are offering are perfectly matched to my Expectation & very soon you will get Response from my side.

    Isuzu FXR Truck Turbocharger

    ReplyDelete
  3. Hello, Iam myself an web developer. Thank you for sharning this.I have bookmarked your page for the further reference.
    custom Web Design

    ReplyDelete
  4. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.

    website design fort lauderdale

    ReplyDelete