Drupal 6
Creating Custom Regions In Drupal 6 Themes
Previously, I covered the topic of creating custom regions in Drupal 5 themes. However, Drupal 6 introduced a new process for creating custom regions in themes and it is still one of the topics people ask about most frequently.
So, here's a tutorial on how to create custom regions in your Drupal 6 themes. In this example I will use the Garland theme, and insert a new region called 'Uber content', which I'll position above everything in the main content area.

It's basically a two-step process:
- step 1 - define the custom region in your theme's .info file
- step 2 - insert some PHP in your theme's page.tpl.php file wherever you would like the new region to appear
Theme Template Files in Drupal 6.0
I've just heard about an upcoming Drupal Dojo lesson which joshk is doing on Drupal 6 theming - entitled Dojo Lesson #41: Theme Template Files in Drupal 6.0.
This is definitely worth checking out. The dojo lessons are always informative, and if you can't be there live they're pretty good at providing the screencast for you to watch later on.
Drupal Themes On Mashable + Drupal Dojo
Bit of a Sunday round-up today.
Firstly, Mashable has had a couple of 'interesting' Drupal theme related posts in the past month:
I generally like Mashable as a site, but am not too sure about the editorial quality when you get guys from Mashable like Adam Hirsch saying things like
'I don't know if you guys heard but there are rumors/talks of the fact that Drupal is going to have new functions that easily integrate with WordPress and Facebook'
Facebook yes, but WordPress - wtf?
Secondly, I just finished watching MerlinOfChaos's 'What's New In Drupal 6 Theming?' Drupal Dojo presentation. As ever, it's quality stuff from the Dojo and well worth a look.





Hi, I'm Laurence and this is my Drupal blog.
Don't Make Me Think!
Pro Drupal Development
PHP Cookbook
Will You Please Be Quiet, Please?