ManagerManager 0.2.4
ManagerManager (MM) is a powerful plugin that allows you to change the names, visibility, and layout of document fields within the Manager - and lots more!
Submitted: Aug 2nd 2007 | License: GPL - GNU Public | Downloads: 439
Description
ManagerManager allows you to:
- Change field names
- Hide fields
- Change the help text for fields
- Rename tabs
- Hide tabs
- Create new tabs
- Move fields to different tabs
- Inherit field values from parent documents
- Prefill date values with customisable values
- Link fields together so their values always match
All these features can be enabled for any manager role, any template, or any combination of these.
The plugin was inspired by HideManagerFields by Brett @ The Man Can. It uses the Jquery library to modify the document management pages after they have been created (no server side transformations are done). It improves on HideManagerFields by adding a standardised API for manipulating fields, adds many new features, and removed the nasty "jump" and flash of hidden fields while the Javascript is manipulated.
Instructions
1. In ModX manager, create a new plugin called "ManagerManager" and paste in the code from plugin.txt
2. In the "System Events" tab, check the OnDocFormRender, OnDocFormPrerender and OnPluginFormRender checkboxes
3. Put mm.inc.php in /assets/plugins/managermanager
(if you want to put it somewhere else, you'll need to change the path in the plugin text you pasted in step 3)
4. Insert your rules into the marked section within the plugin code in the manager
Updates
Since 0.2.3
- Fix typo in mm_renameTab()
Since 0.2.2
- New tab when editing plugin which shows IDs of all roles and templates in order to make creating rules easier
- Option to use jquery.com's version of jquery (can still use local if you wish)
- Change mm_hideField and mm_hideTab names (see documentation if you are upgrading -- this is an "alpha" release so there may be small changes in order to make things more efficient)