I'm using dreamweaver as IDE for coding PHP and use inc files for some Drupal modules. By default Deamweaver does not highlight inc files but can be made to highlight syntax for such files. I also did the same for Drupal module extention. Module files are PHP but use the file extension .module, which Dreamweaver does not recognize as PHP code, so we'll register the .module and .inc file extensions as the PHP document type.

To do this:

Open c:\Program Files\Macromedia\Dreamweaver\Configuration\DocumentTypes\MMDocumentTypes.xml

While adding the module extension to my MMDocumentTypes.xml in dreamweaver I noticed that the file was missing. There should be no reason for this to go missing although it has happened before.

Anyway, should you have this fault -- or if I have it again, here is the file, attached as backup.

update: also see my post on syntax highlighting
http://www.xweb.com.au/blog/syntax_highlighting_drupal_inc_and_module_fi...

Setting up a Drupal installation on my laptop to make it easier to develop themes offline i encountered the following error:

PHP MySQL support not enabled.

We were unable to use the MySQL database because the MySQL extension for PHP is not installed. Check your PHP.ini to see how you can enable it. For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

Syndicate content