You can create a manager group/document group, put your Admin managers in the manager group, then assign the TVs in question to the group. Now only the Admin manager can see the TVs.
Hi!
Is it possible to hide some TV depends on page that i choose?
example: I have 2 pages : firstPage and secondPage, I want to hide some TV only on firstPage.
mm_hideTabs('meta, preview'); // Hide the meta and preview tabs for all usersmm_hideTabs('meta,preview'); // Hide the meta and preview tabs for all users
Wow! This plugin is AWESOME! Now, here’s my 2 cents...
When following the documentation with the newest v0.2.6 version installed, I noticed that the examples didn’t work unless I removed the spaces in the parameters. Soneeded to be written asmm_hideTabs('meta, preview'); // Hide the meta and preview tabs for all users.mm_hideTabs('meta,preview'); // Hide the meta and preview tabs for all users
The other item is a request: Is there a way to change the sort order of the tabs? When I create a new tab, it gets stuck at the end, rather than second or first where I would really like it to be.
Sorry if either of these items has been covered in this thread already. I admit I didn’t read all the posts.
ManagerManager - OnPluginFormRender An error occurred while loading. Please see the event log for more information. Warning: include(xxxxx/assets/plugins/managermanager/mm_functions.inc.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/xxxxx/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 84 Warning: include() [function.include]: Failed opening 'xxxxx/assets/plugins/managermanager/mm_functions.inc.php' for inclusion (include_path='/Applications/MAMP/htdocs/xxxxx/manager/includes/') in /Applications/MAMP/htdocs/xxxxx/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 84 Warning: include(xxxxx/assets/plugins/managermanager/mm.inc.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/xxxxx/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 94 Warning: include() [function.include]: Failed opening 'xxxxx/assets/plugins/managermanag
I’ve been considering better ways of defining the ManagerManager rules. In order of work required, they are:
1. Keep them defined in the plugin code
2. Define them in code in a separate chunk
3. Define them in code in an external file
4. Create a user interface to visually create the rules (from dropdowns, etc)
What would people’s preferred choice be?
// ManagerManager plugin v0.2.6
// See readme.htm for licensing and installation instructions
// The following System Events should be checked:
// [X] OnDocFormPrerender
// [X] OnDocFormRender
// [X] OnPluginFormRender
if (!function_exists("make_changes")) {
function make_changes() {
// ------------------------ INSERT YOUR RULES HERE --------------------
mm_createTab('<b style=\"color:#a77\">Aufgaben + interne Infos</b>','paneAI'); // in english -> tasks and notice
mm_moveFieldsToTab('tvBackend_OffeneAufgaben', 'paneAI'); // in english -> open task
mm_moveFieldsToTab('tvBackend_internesBemerkungsfeld', 'paneAI'); //in english -> internal notice
mm_inherit('template');
// Anpssung nur für Content-Admins
$contentAdminGrp=2;
mm_hideFields('alias,link_attributes,contentType,clear_cache', $contentAdminGrp);
// ------------------------ END OF RULES --------------------
} // Don't remove this
} // Don't remove this
.....
This discussion is closed to further replies. Keep calm and carry on.