eZ Community » Forums » Setup & design » eZFlow block / layouts not visible in...
expandshrink

eZFlow block / layouts not visible in custom content class (admin view) [Solved]

eZFlow block / layouts not visible in custom content class (admin view) [Solved]

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)

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from