Monday 09 July 2012 6:11:09 pm - 1 reply
Howdy,
I'm using eZ community 2012.05, and I created a custom content class by copying the landing_page class. When I create any of these in admin view, the layout radio options are not present at all. There is a <div> tag with id zone-tabs-container where the layouts should be, but it isn't populated. There are no javascript errors on the page, and the layouts are populated in the actual landing_page content objects, just not objects in the classes duplicated from landing_page.
Any thoughts on what could be going wrong?
Thanks
Modified on Monday 09 July 2012 8:22:49 pm by Jackson Murtha
Monday 09 July 2012 8:22:11 pm
I figured this one out after a bit more digging. It looks like the layout zones are assigned by content class. I needed to add entries for the desired zones in zone.ini
Settings look something like this, where the last line is added:
[3ZonesLayout2]
ZoneTypeName=3 zones (layout 2)
Zones[]=left
Zones[]=right
Zones[]=bottom
ZoneName[left]=Left zone
ZoneName[right]=Right zone
ZoneName[bottom]=Bottom zone
ZoneThumbnail=3zones_layout2.gif
Template=3zoneslayout2.tpl
AvailableForClasses[]=frontpage
AvailableForClasses[]=landing_page
AvailableForClasses[]=(name_of_your_content_class)
You must be logged in to post messages in this topic!