definition of zones

Feb 12, 2011 at 7:45 PM


could anybody tell me, where the zones are defined and how to define my own zones.

In my theme I changed in the manifest file (Theme.txt) the "Zone:" line, but all zones appear in admin/Widgets as before.

I looked at the db-tables, but didn't find any data about zones or content types with zone property.



Feb 13, 2011 at 1:14 AM

Adding the zone to the theme.txt file should have worked. Are you sure the theme is active?

Note that the zone should also be instantiated from the layout file, but as far as the widget edition screen is concerned what is in theme.txt is what counts.

Feb 13, 2011 at 10:10 AM
Edited Feb 13, 2011 at 10:11 AM

I have defined 5 zones in my theme.txt, to test what happens. Two of the zones are new and the other three are default. Now all default themes (ThemeMachine) plus my new themes are listed in the widgets menu. I expected that there would be only my 5 zones listed. My testheme doesn't inherit from the ThemeMachine. Is this o.k.?

Feb 14, 2011 at 10:29 PM

The theme machine theme is probably still active. If you don't need it, try to disable it.

Feb 16, 2011 at 11:01 AM

It works! Thank you!