Forums / Extensions / eZ Flow / limit the type of blocks allowed in a zone ?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.