-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.txt
37 lines (30 loc) · 1.61 KB
/
plugin.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//<?php
/**
* ManagerManager plugin
* @version 0.6.2 (2014-05-28)
*
* Customize the MODx Manager to offer bespoke admin functions for end users.
*
* @category plugin
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL)
*
* @internal @properties &remove_deprecated_tv_types_pref=Remove deprecated TV types;list;yes,no;yes &config_chunk=Configuration Chunk;text;
* @internal @events OnDocFormRender,OnDocFormPrerender,OnBeforeDocFormSave,OnDocFormSave,OnDocDuplicate,OnPluginFormRender,OnTVFormRender
* @internal @modx_category Manager and Admin
*
* @link http://code.divandesign.biz/modx/managermanager/0.6.2
*
* @copyright 2014
*/
// You can put your ManagerManager rules EITHER in a chunk OR in an external file - whichever suits your development style the best
// To use an external file, put your rules in /assets/plugins/managermanager/mm_rules.inc.php
// The chunk SHOULD have php opening tags at the beginning and end
// If you want to put your rules in a chunk (so you can edit them through the Manager),
// create the chunk, and enter its name in the configuration tab.
// The chunk should NOT have php tags at the beginning or end.
// See also user-friendly module for editing ManagerManager configuration file ddMMEditor (http://code.divandesign.biz/modx/ddmmeditor).
// ManagerManager requires jQuery 1.9.1, which is located in /assets/plugins/managermanager/js/ folder.
// You don't need to change anything else from here onwards
//-------------------------------------------------------
// Run the main code
include($modx->config['base_path'].'assets/plugins/managermanager/mm.inc.php');