Limit Block Types for an area4 users found helpful
is there a way to limit block types for a specific area?
Did you try to use the advanced permission mode? Put this in your site.php:
and you'll have a lot more options...
I've set the permissions to advanced, but am not sure where I set the blocks that are allowed in an area.
What I need is a navigation area that will have the option to add the Auto-Nav and also content block, or html for extra customization.
$a = new Area('Main'); $a->setBlockLimit(3); $a->display($c);
If advanced permissions are enabled you can limit block types to an area by clicking on an area in edit mode and then click on permissions.
I haven't tested, but you should be able to set this for page defaults too.
Sorry for bringing this post up...but I've tested this on page defaults too but doesn't work.
Concrete5 allows me to do set advanced permissions through page defaults but when testing on front-end it simply doesn't work. I'm not sure it's even meant to work.
Being trying to figure this out.