


Archive for August, 2008
Writing your Drupal modules in Dreamweaver
Author: Julian Woolford08 2nd, 2008
When you develop custom applications in Drupal, your best path is to leverage the modular framework of the core and create your own Drupal modules. This week Web Deli has been developing a custom business application for our client and we came up against this nagging issue:
Dreamweaver does not recognise (out of the box) your “.module” file as a valid PHP file (Which it is). So how do I get Dreamweaver to recognise my Drupal module as PHP and provide code colouring and context at runtime?
What you need to do is find the following file:

And edit it as below:
Then… Dreamweaver will recognise Drupal’s .module file as PHP. Simple.
And voila! We have beatiful code once again:
read comments (0)
