June 2009

Disabling the Views_Bulk_Operations default view

The Views_Bulk_Operations module for Drupal is really pretty awesome, out of the box it solves one of the top 5 problems newcomers have with Drupal - the standard content admin page, /admin/content/node, does not include a field to search for content by the title, instead you have to do a search in the main search engine and then click the edit link, presuming you haven't hidden it or something.


Drupal theming gotcha #1 - overriding template files

As I've been delving into Drupal theming I've discovered lots of gotchas.

The first one for today - when creating a sub-theme, if you want to override a template for a specific purpose you need to copy the parent theme's original file into your subtheme. A common example is wanting to have a custom page template for the hompage, which entails copying page.tpl.php to page-front.tpl.php. Because of a bug, aka poorly thought out "feature", your sub-theme must have a copy of both page-front.tpl.php and page.tpl.php.