// ManagerManager plugin v0.3.2
// Description: <strong>0.3.2</strong> Manage the ModX Manager
...
// You don’t need to change anything else from here onwards
//-------------------------------------------------------
// Run the main code
$asset_path = $modx->config[’base_path’] . ’assets/plugins/managermanager/mm.inc.php’;
include($asset_path);
// MM rules can go in here, instead of a chunk
// If you copy them to a chunk, don’t include the opening and closing PHP tags
// ------------------------ INSERT YOUR RULES HERE --------------------
// These are example rules -- replace them with your own
// PHP *is* allowed
// News editors role -- creating a variable makes it easier to manage if this changes in the future
$news_role = ’3’;
mm_hideFields
..................
// For everyone except administrators
mm_hideFields(’link_attributes’, ’!1’);
//mm_moveFieldsToTab(’tvcolour’, ’general’);
// ------------------------ END OF RULES --------------------