Dreamweaver coding colour .php .module

Events happening in the community are now at Drupal community events on www.drupal.org.
Fixdit's picture

Dreamweaver's .php code colouring applied to .module files... there is a useful nugget!

I have been frustrated when editing .module and other non .php suffixed files that Dreamweaver doesn't colour code?! So here is how to make Dreamweaver do so.

<

ol>

  • In Dreamweaver's application directroy follow to here: Configuration\DocumentTypes\MMDocumentTypes.xml
  • In here (MMDocumentTypes.xml file) you should find the lines of code which list the currently accepted suffix formats for php colours to be applied to.
    Something like this: winfileextension="php,php3,php4" or "macfileextension="php,php3,php4"
  • Read more
    Subscribe with RSS Syndicate content