Category Archives: Drupal

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

Drupal7 – Where Can Modules Live?

Modules can live in many places. If you use Apple’s OSX it’s a lot like where Applications and Fonts can live in OSX, or how configuration can be per-user under …

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