I haven't tried the dev version jet but since the 4.2 version was released yesterday I think this also occurs in the dev version.
But I'm not sure if it is a bug, or if I'm doing something wrong. So I filled it under support.
So here's what I did:
Created a sub theme using drush owiz.
Creaded a custom region called 'banner' by putting regions[banner] = Banner in the subtheme.info file
Then added the <?php print render($page['banner']); ?> to my tpl.php file ( and made sure this tpl file is used by printing out plain text in that tpl file )
Assigned a basic block with some content to the banner region.
drush cc all
Content of block is not showing up.
moved block to another region.
Content of block is showing up.
So either I'm missing a step in my theming or it's a bug.
Thanks for helping!
Comments
Comment #1
scuba_flyComment #2
scuba_flyTurns out I was using a custom lay out where the region was not defined in the layoutname.inc file while I defined it in the subthemename.info.
So It was showing in blocks but never loaded the region for the layout I was using.
Comment #3
sksanjoo2 commentedI am not able to render custom region in page--front.tpl.php.Please Help me .