Permission to edit only main block
Permalink
I'm a newbie so I'm sure this has been answered somewhere, but I can't find it.
I've set up a group called "Editor" on a clean install of Version 5.6.2
I'm trying to set permissions up to allow the Editor to only edit content in the "Main" block. When I log in as an editor, I can still edit all the blocks in the header and footer. I've got Advanced permissions set up and tried changing permissions on the header and footer blocks.
Can anyone tell me a simple way to not allow editing of content in any blocks other the Main block?
I've set up a group called "Editor" on a clean install of Version 5.6.2
I'm trying to set permissions up to allow the Editor to only edit content in the "Main" block. When I log in as an editor, I can still edit all the blocks in the header and footer. I've got Advanced permissions set up and tried changing permissions on the header and footer blocks.
Can anyone tell me a simple way to not allow editing of content in any blocks other the Main block?
Thanks. No luck there. After more exploration it looks like it's a custom theme issue.
are they a global header and a global footer ?
http://www.concrete5.org/about/blog/concrete5-sightings/check-out-a...
enlil is correct but there is more then 1 way to approach this
the problem i see would be is how to stop people from adding blocks to those areas (after not allowing them to alter the blocks already there)
adding a block limit to the theme could address your situation **$a->setBlockLimit(#of blocks allowed);**
<?php
$a = new Area('Header Nav');
$a->setBlockLimit(1);
$a->display($c);
?>
** in the long run you will want to look into hardcoding your header and footer
http://www.concrete5.org/about/blog/concrete5-sightings/check-out-a...
enlil is correct but there is more then 1 way to approach this
the problem i see would be is how to stop people from adding blocks to those areas (after not allowing them to alter the blocks already there)
adding a block limit to the theme could address your situation **$a->setBlockLimit(#of blocks allowed);**
<?php
$a = new Area('Header Nav');
$a->setBlockLimit(1);
$a->display($c);
?>
** in the long run you will want to look into hardcoding your header and footer
Thanks. No luck there. After more exploration it looks like it's a custom theme issue.
Then navigate to each page and restrict access on the areas you don't want users to be able to edit by clicking on the area and selecting "Set Permissions".