This ruined 3 hours of my life but anyway....anyone trying to use the v2 documentation to add new regions or zones in v3 as described here http://omega.developmentgeeks.com/documentation/zones/adding-new-zones would be better off having dental treatment without anaesthetic.

However do take note of the last sentence in the guidance that says it is all done in the UI in the next version. It is in v3.

Here's how you do it...

Add a zone in your_theme.info

zones[my_new_zone] = My New Zone

Add new regions in your_theme.info

regions[my_new_region_1] = My new region 1
regions[my_new_region_2] = My new region 2

Save this, empty the cache and then go to theme UI and Zones and Regions config.

YOu will be able to add your zone to a section and your regions to a zone and then config widths etc etc.

Comments

tonyhrx’s picture

Title: Zone and region management documentation needs updating to 3 » Zone and region management documentation needs updating. Here's how to add them
Argus’s picture

Component: User interface » Documentation
Slim Pickens’s picture

Fortunately I found this before I wasted too much time using the v2 documentation.

I wanted to add an Ad Banner region to the Branding Zone so that a Google Adsense banner could be placed to the right of the Site name/logo.

The Branding Region has a width of 4 columns, 0 prefix and suffix, and a Weight of 1.
The Ad Banner Region has a width of 4 columns, 0 prefix and suffix, and a Weight of 2.

These two regions now sit side by side across the 12 column container - no CSS required! Excellent.

I created a Block called Adsense Banner with Full HTML containing my site's Adsense code and assigned it to the Ad Banner region of my theme.

Fantastic!

Slim Pickens’s picture

Issue summary: View changes

Missed a bit of text out