![]() |
![]() |
![]() |
Adding regions to your theme is much easier than you might think. Not only is it very easy, its also very helpful when you are trying to customize the layout of your site. Instead of using panels or trying tricky css and html, you can simply add a region. Once added you will be able to use blocks to control the display of information in your new regions, this is very handy.
First off, your regions are simple php code that is added to your template file (page.tpl.php) you add the variables in the .info file in your themes directory. This is how they look.
regions[header] = Header
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content_top] = Above content
regions[content_bottom] = Below content
regions[footer] = Footer
More coming.......