ManagerManager

Plugin
  • Version: 0.6.2
  • Released:
  • Tags: Manager
Download now 2563 downloads

Description

ManagerManager lets you customise your MODX manager interface. You can rename, hide, move fields and tabs and doing many others intresting actions such as Google Maps or Yandex Maps integration. And do it just for certain users or templates. Absolute power! ;-)

Changelog

  • The «custom_tv» TVs are currently textarea in the «$mm_fields» array.
  • «$modx→getFullTableName» is used for getting DB table names.
  • Height setting for the «#loadingmask» container has been fixed.
  • The redundant elements, which were for backward compatibility with ancient products, have been removed from the «$mm_fields» array.
  • The structure of the internal variable «$jsUrls» has been changed.
  • The «default.mm_rules.inc.php» file has been removed because it caused unwanted mess.
  • The «getTplMatchedFields» function has been updated to 1.0.2:
    • «$mm_fields» has been used instead of «ddTools:$documentFields» for detecting a document fields.
  • The «prepareSectionId» function has been updated to 1.1:
    • Support for the «content» section has been added.
    • Support for the «tvs» section has been added.
  • The «makeSqlList» function has been updated to 1.0.2:
    • «$modx→db→escape» is used instead of «mysql_real_escape_string».
  • The «tplUseTvs» function has been updated to 1.2.1:
    • «$modx→db→select» is used for querying instead of «$modx→db→query».
    • Minor changes.
  • «$.ddMM» has been updated to 1.2.1:
    • Each document field in «$.ddMM.fields» has its own jQuery element.
    • The «$.ddMM.moveFields» method has been updated to 1.1:
      • The jQuery element of a field is just taken from «$.ddMM.fields».
      • The «content» field can now be moved properly to any section.
      • Minor changes.
  • The «ddTools» library has been updated to 0.12.
  • The «jQuery.ddTools» library has been updated to 1.8.6.
  • The «mm_ddHTMLCleaner» widget has been updated to 1.0.4.
  • The «mm_ddSetFieldValue» widget has been updated to 1.1.
  • The «mm_ddAutoFolders» widget has been updated to 1.2.
  • The «mm_default» widget has been updated to 1.2.
  • The «mm_widget_showimagetvs» widget has been updated to 1.2.1.
  • The «mm_changeFieldHelp» widget has been updated to 1.1.2.
  • The «mm_hideFields» widget has been updated to 1.1.2.
  • The «mm_renameField» widget has been updated to 1.2.1.
  • The «mm_ddGMap» widget has been updated to 1.2b.
  • The «mm_widget_tags» widget has been updated to 1.1.3.
  • The «mm_ddMultipleFields» widget has been updated to 4.5.1.
  • The «mm_ddResizeImage» widget has been updated to 1.3.5.
  • The «mm_hideSections» widget has been updated to 1.2.1.
  • The «mm_renameSection» widget has been updated to 1.2.1.
  • Other minor changes.

Documentation

Update

You must to remove all files from /assets/plugins/managermanager/ and previous ManagerManager, then you must install the plugin in pursuance of the following instructions.

Install

  1. Unzip the downloaded file.
  2. Create new plugin named as «ManagerManager» and paste the contents of the plugin.txt file to it.
  3. Check the following events in the «System events» tab:
    • OnDocFormRender
    • OnDocFormPrerender
    • OnBeforeDocFormSave
    • OnDocFormSave
    • OnDocDuplicate
    • OnPluginFormRender
    • OnTVFormRender
  4. Paste the following code to the «Plugin configuration» field («Configuration tab»): &remove_deprecated_tv_types_pref=Remove deprecated TV types;list;yes,no;yes &config_chunk=Configuration Chunk;text; Click «Update parameter display».
  5. Copy all the files from the archive (except the plugin.txt) to your site (the required structure has been already created, the files should be located in /assets/plugins/managermanager).
  6. If jQuery is connected locally («jQuery source» == 'local (assets/js)') the убедитесь, что файл /assets/js/jquery-1.7.1.min.js file must exist or you have to download it and upload to your site.
  7. Plugin rules can be set in a chunk contents or in the file:
    1. If you want to edit rules in the site control panel you should create «mm_rules» chunk (name can be different) and set its name in the «Configuration Chunk» parameter («Configuration» tab).
    2. If you do not want to use the site control panel you may edit the file /assets/plugins/managermanager/mm_rules.inc.php. Warning, «Configuration Chunk» parameter must be empty.

Warning, «ShowImageTVs» plugin (if you have it) must be disabled, you have to use mm_widget_showimagetvs instead.

Widgets

All the widgets are already in the archive so you don't have to install additional stuff. You will see examples and description if you follow the links below.

Input restriction

Setting values

Changing of names and help

Input enhancement

Sections

Tabs

Maps

Miscellaneous

See also

  • User-friendly module for editing ManagerManager configuration file ddMMEditor.