Closed (fixed)
Project:
Omega
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2010 at 21:04 UTC
Updated:
28 May 2010 at 14:40 UTC
I came across this when I had 2 sidebars enabled and my body classes still said "one-sidebar sidebar-first" instead of "two-sidebars". D7 has changed to sidebar_second as mentioned here: http://drupal.org/node/254940#sidebars-renamed
For consistency with core, I'd actually suggest renaming all your regions to _first, _second, _third, etc. instead of _first, _middle, _last. The way things current are, you're forced to have a template_preprocess_html to make it match your regions.
:)
Comments
Comment #1
himerus commentedOkay, this is fixed in the Alpha3 release. Download link pending.
All the regions are renamed for a structure of first, second, third, etc.
I agreed with renaming them for the possibility to quickly add new regions in the future. Makes sense.
Updating this in a subtheme will require the appropriate renaming of regions in the .info file, and in your page.tpl.php along with any other areas where it may have been customized.
The original block regions will not retain the block associations. You will need to visit the theme settings page for your subtheme and revert to the code in the .info after you have update that as well.
So:
rename or recopy the regions list in your subtheme as they now are in omega & starterkit
revert theme settings via admin interface for your subtheme
revisit block page & reposition any blocks who's placements were affected by this change.