Area question
Permalink
Hello
Is it possible to limit to one Area in edit mode? I mean when someone add something to the Area no other "Add to this area" will appear in the edit mode.
$as = new Area('Sidebar');
$as->display($c);
Is it possible to limit to one Area in edit mode? I mean when someone add something to the Area no other "Add to this area" will appear in the edit mode.
$as = new Area('Sidebar');
$as->display($c);
Thank you but,
No not with permission. It is allowed for all users to add one block but not more then one block.
It destroys the design in the edit mode. I can do it with if($c->isEditMode()){} but yeahh it looks not so nice ; )
No not with permission. It is allowed for all users to add one block but not more then one block.
It destroys the design in the edit mode. I can do it with if($c->isEditMode()){} but yeahh it looks not so nice ; )
$as->setBlockLimit (1);
Thank you! Thats it! : )
http://www.concrete5.org/community/forums/customizing_c5/hot_to_rem...