By smartango on
Hi,
I read http://drupal.org/node/29140 http://drupal.org/node/11795 http://drupal.org/node/11795 which talk about defining theme regions by
defining a function mytheme_regions that return an array of regions
I defined this regions function with some new regions but if I include corresponding variable in page.tpl.php I got an error and also I do not see the region in block administration.
How do I define new regions in theme?
Thanks,
Daniele
Comments
D6 has been changed
http://drupal.org/node/171179 look here.
http://dreamweaverdrupalthemeextension.blogspot.com/
Theme regions in 6.0?
I am trying to upgrade my theme to 6.0
In my 5.x theme I was using the "An array of regions" function theme_regions() in the template.php file... But in the Zen theme 6.0.... this has been replaced!
[edit] AH HA!!!
http://drupal.org/node/171224
Block regions can be defined through .info files. When none are set, the following defaults are assumed.
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
handbook page
http://drupal.org/update/theme
with a list of other changes
http://drupal.org/node/132442
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide