I'm upgrading a site from 5.x to 6.x and refreshing the theme. I've created a number of custom block regions in the theme.info file, printed them in the page.tpl.php file as follows:

theme.info

regions[newregion]          = new custom region

page.tpl.php

<?php print $newregion; ?>

The strange thing is, even though I've added blocks to these regions, they aren't showing up on the site, except for in the admin/build/blocks page. It's very strange -- I've cleared the caches many times and refreshed my browser repeatedly. Anybody seen this before?

Thx.

Edited by: VeryMisunderstood; corrected a </b> tag

Comments

laryn’s picture

A few issues that I discovered which were related to the upgrade from 5.x and the particular content, not from anything described above:

  • Some blocks may have contained PHP code that didn't work with 6.x, still testing that
  • The login block never appeared because I was already logged in
  • Some blocks were set to only display for certain roles
  • Some blocks were set to only display on certain pages