University of Oregon

Drupal – Add a datestamp to your custom modules

I have several custom Drupal modules and when ever I make revisions & create a new version I update the datestamp.
Here’s a bookmarklet I use in Firefox to generate a datestamp.
Just drag that to your bookmark bar and you’re good to go.

Here are my steps to use it:

  1. Click Datestamp bookmarklet;
  2. Select all;
  3. Copy;
  4. and then paste into your file:
    datestamp = "1354564856"

Here’s the code: (more…)

Opening Drupal module files in Dreamweaver

I just came across an article that gave me the idea that I could edit Drupal Module and INFO files in dreamweaver as php files with color coding.

Thanks to James: Opening CakePHP Files in Dreamweaver – James Fairhurst.

Here’s what I did.