Sunday, October 23, 2011

CakePHP and Dreamweaver

  • Go to your Dreamweaver installation folder (let’s assume this is C:\Program Files\Adobe\Adobe Dreamweaver CS3)
  • Open the configuration folder
  • Edit extensions.txt and modify the first line so THTML and CTP are present (comma seperated. It should look something like this: ,MASTER,THTML,CTP:All Documents
  • Edit the PHP files line in the same way. It should look like this: PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files
  • Now browse to the DocumentTypes folder and open MMDocumentTypes.xml.
  • Do a ctrl-f search for “winfileextension” and modify the line to look like this: winfileextension=”php,php3,php4,php5,thtml,ctp”
  • Do the same for “macfileextension”: macfileextension=”php,php3,php4,php5,thtml,ctp”
  • Now go to your “Document and Settings” folder (found under your username e.g. “C:\Documents and Settings\Your User Name\Application Data\Adobe\Dreamweaver 9\Configuration”
  • Edit “Extensions.txt” and add the same lines you added to the other extensions file.

No comments:

Post a Comment