It’s a DateTimePicker plugin for MODx by Phize ported to ManagerManager.
Plugin page in repository
Datepicker is the widget for ManagerManager replaces default datepicker.
Now, you can pick up a date without opening new window/tab.
Installation
Copy datetimepicker folder to \assets\plugins\managermanager\widgets subfolder.
Using
mm_widget_datetimepicker($lang, $roles,$templates)
$lang: The language of datetimepicker. You can check language code in /assets/plugins/managermanager/widgets/datetimepicker/js/i18n folder.
(’**’ in ’ui.datetimepicker-**.js’ is the language code.). When $lang is not set, the language code will be the same as ’Manager HTML and XML Language Attribute’ in ’Configuration’.
However, auto mode works well on 0.9.6.2 or more. (The MODx of less than 0.9.6.2 has a bug. Therefore, the language code will be always ’en’ even if not set in parameter) [Optional - default is autoselect]
$roles: comma separated list of role IDs this should be applied to. Leave empty (or omit) for all roles [Optional - default is all]
$templates: comma separated list of template IDs this should be applied to. Leave empty (or omit) for all templates [Optional - default is all]