Building Custom Blocks with Drupal 7

Introduction There are times when you need to build a custom block that a site builder can utilize in various places on a page. Drupal 7 provides several hooks that allow you…

Option groups in Drupal forms

One really useful HTML element that doesn't seem to get much love is optgroup. It allows you to group the items of a select list in a way that may be more…