How to limit Modules in "Add Block"
Permalinkmy customer is complaining that the editor can choose out of a lof Options when they add a block, see attached.
How can I limit whats shown on this overlay?
Version: 5.4.1
Philipp
I tried that but the page cannot be found.
Philipp
if not browse to you dashboard and under Stacks & Blocks
you should see Block & Stack Permissions
this will take you to the same page
GB
to limit modules you need to have advanced permissions activated
but caution there is no going back once you do this
in site.php add define('PERMISSIONS_MODEL', 'advanced');
then each area will have permissions option added to it
try this out on local site first to see if it suits your needs
GB
wow, THX a lot I'll look into this option.
As an alternative I can also uninstall Modules which are not needed, correct?
Philipp
I would seriously consider updating your site. Lots of hosts are forcing their clients to 'upgrade' to PHP version 5.4 which I understand causes problems with c5 version 5.4. The permissions model has also been much improved in recent versions of c5 and it's much faster as well.
I just updated the CMS to the last version and activated the advanced permissions, I still don't see the section you are refering to.
See screenshot attached.
I tried updating the page but I always get the following error:
An Unexpected Error occurred while upgrading: #0 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1074): adodb_throw('mysqlt', 'EXECUTE', 1142, 'INDEX command d...', 'DROP INDEX cPar...', false, Object(ADODB_mysqlt)) #1 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1049): ADOConnection->_Execute('DROP INDEX cPar...', false) #2 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty/adodb/adodb-datadict.inc.php(378): ADOConnection->Execute('DROP INDEX cPar...') #3 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty/adodb/adodb-xmlschema03.inc.php(1737): ADODB_DataDict->ExecuteSQLArray(Array, false) #4 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/models/package.php(206): adoSchema->ExecuteSchema() #5 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/controllers/single_pages/upgrade.php(226): Concrete5_Model_Package::installDB('/ww...') #6 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/controllers/single_pages/upgrade.php(247): Concrete5_Controller_Upgrade->refreshDatabaseTables(Array) #7 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/controllers/single_pages/upgrade.php(44): Concrete5_Controller_Upgrade->do_upgrade() #8 [internal function]: Concrete5_Controller_Upgrade->view('tools', 'required', 'upgrade') #9 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/controller.php(264): call_user_func_array(Array, Array) #10 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/controller.php(234): Concrete5_Library_Controller->runTask('view', Array) #11 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/view.php(783): Concrete5_Library_Controller->setupAndRun() #12 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/tools/upgrade.php(6): Concrete5_Library_View->render('/upgrade') #13 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/startup/tools_upgrade_check.php(9): include('/ww...') #14 /www/fortyone/public_html/updates/concrete5.6.2.1_updater/concrete/dispatcher.php(105): require('/ww...') #15 /www/fortyone/public_html/concrete/startup/updated_core_check.php(6): require('/ww...') #16 /www/fortyone/public_html/concrete/dispatcher.php(21): require('/ww...') #17 /www/fortyone/public_html/index.php(2): require('/ww...') #18 {main}
--> So I give up.
I would pay somebody getting this done for me, anybody interested?
You have to upgrade to 5.4.2.2 then 5.5.2.1 then 5.6.2.1.
Is that wrong?
sorry for my late reply.
I cannot look into the details of the update, would you take care about this for me?
Please send me a private massage reg. the costs etc..
Philipp
You can edit which blocks a user can add here
http://www.yoursite.com/index.php/dashboard/blocks/permissions/...
GB