New Regions Not Loading in Drupal 6

Creating new regions in a Drupal theme that you can publish blocks too, is extremely easy.

edit your “themename.info” file:

regions[name_of_new_region] = name of new region

then output the region in your “page.tpl.php” file:

<?php if ($name_of_new_region) print $name_of_new_region; ?>

The problem  you may run into (and the point of this post), is that during development of your theme, the new regions may not show up in your Drupal blocks page.  What you will need to do, is head over to your “build/themes” page and set another theme as your default temporarily.  Once another theme is saved as the default, reselect your theme and set it as the default once again.  This will load your new regions, and you should now be able to publish blocks to them.

I didn’t see mention of this problem on other sites, so I thought I would throw it out there in case anyone else had the same frustration!

Tags: , , ,

2 Responses to “New Regions Not Loading in Drupal 6”

  1. JoshuaNo Gravatar Says:

    Thanks for the compliments Tina and Allison. This is just a partial implementation of a design I created for my site. When I get more free time I will be adding to it :)

  2. Jose OnateNo Gravatar Says:

    Same issue here. The problem is in Drupal’s caching of the regions. Another quick way to rebuild the cache is to empty it:

    Administer >> Performance -> Clear cached data

    That should make the new regions appear.

Leave a Reply