Category Archives: Drupal

Drupal – Drush Make Global Defaults

I’m a big fan of Drush and its bundled feature Drush Make. Drush Make used to be its own project separate from Drush — for some time now it has …

Tags: , , , , , | Posted under Drupal, Drush | Leave a comment

Drupal 7 Dynamic Themeing via theme()

Drupal has a theme() function which lets you output HTML partials (chunks) for a given piece of content. The theme function takes in content as input and uses theme functions …

Tags: , , , , , | Posted under Drupal | Leave a comment

Can a Drupal7 Module Use hook_update_n Instead of hook_install?

Recently I was asked if a module could use hook_update_n and not need to implement hook_install. The developer wanted to alter existing SQL tables accessible by Drupal using the Drupal …

Tags: , , , , , , , , , , , , | Posted under Drupal | Leave a comment