New home for the website

After several months waiting to do so, I've finally moved this site to Drupal. Right now the content has been moved over and I've set up most of the bare features I wanted, but I still have to finish some functionality and, obviously, make it not look quite so horrible. More updates will be arriving over the coming weeks, stay tuned!

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.

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.

Tip: Comment permissions when using Mollom

I just realized something. When you're using Mollom to protect your site from spam, for the correct workflow to happen, i.e. visitors comments show up immediately if they are not considered spam, you'll want to set your comment permissions as follows:

200906071533.jpg

Building Drupal installation profiles

Or "Don't use database dumps to deploy your site".

Syndicate content