limit the type of blocks allowed in a zone ?

Author Message

*- pike

Friday 20 August 2010 11:07:17 am

Hi

is there a way to limit which blocks are allowed to appear within a specific zone ? I was trying .. the code below (grrr, safari doesnt work well in these forums) .. but it has no effect on what shows up in the option element of the zone form ('add block') in the admin.

[mylayout_zone0]

AllowedTypes[]

AllowedTypes[]=myfunnyblock

---------------
The class eZContentObjectTreeNode does.

*- pike

Saturday 21 August 2010 7:38:14 am

hey, the 'related forum topics' actually showed a solution.

the above config would work, if I would apply the hack described here:

http://share.ez.no/forums/extensions/ez-flow/solution-for-avoid-all-block-in-adding-list-of-zone-layout

(the first one)

*-pike

---------------
The class eZContentObjectTreeNode does.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.