Releases: DivanDesign/EvolutionCMS.plugins.ManagerManager.mm_ddMultipleFields
Releases · DivanDesign/EvolutionCMS.plugins.ManagerManager.mm_ddMultipleFields
Version 4.8
- * Richtext column:
<,>and&are not replaced to HTML entities (<,>and&respectively). - * TV value stores as a JSON object, no more separated strings (with backward compatibility).
- + The widget always generates an unique ID for each row and save it as a row key in result object (see README).
- * Parameters →
$params->columns[i]['type']: The'id'value is deprecated (with backward compatibility). - * It is strongly recommend to use (MODX)EvolutionCMS.snippets.ddGetMultipleField >= 3.5 for rendering TVs on site.
- + Empty rows (rows objects with empty column values) will not be saved.
- + README.
- + README_ru.
- + CHANGELOG.
- + CHANGELOG_ru.
- + Composer.json.
Version 4.7.4
- * New path of (MODX)EvolutionCMS.libraries.ddTools for compatibility with the new ManagerManager version.
Version 4.7.3
- * Style: Improved input height.
- * The
$modx->getConfigmethod is used instead of the$modx->configproperty. - * Richtext pupup window (Many thanks to @MrSwed.):
- + Textarea autofocus.
- * No scrolls in the window.
- * Correct window and element sizes.
Version 4.7.1
- * Richtext editor is used from
$modx->config['which_editor']. Many thanks to @MrSwed. - * Rich text field in popup window is now working correctly even TinyMCE is not installed.
Version 4.7.2
- *
jQuery.ddMM.mm_ddMultipleFields:- * Datepicker now gets the value of day and months from MODX config.
- *
makeSelect: Set field width using the parameter.
Version 4.7
- * Attention! PHP >= 5.4 is required.
- * Attention! (MODX)EvolutionCMS.plugins.ManagerManager >= 0.7 is required.
- * PHP short array syntax is used because it's more convenient.
- * Refactoring, the widget now using named parameters (with backward compatibility).
- * Refactoring:
jQuery.ddMM.fieldsis used istead of manually DOM finding. - *
jQuery.ddMM.mm_ddMultipleFields:- * Refactoring, the plugin now using named parameters.
- * Refactoring
jQuery.ddMM.mm_ddMultipleFields.instances:- * Items is pushed by
jQuery.ddMM.mm_ddMultipleFields.init. - *
currentFieldwas renamed as$currentField. - +
$parent,$originalFieldand$tableware added.
- * Items is pushed by
- * The
$params->columnsparameter now must be an array. Items contain type, title, width and data.$params->columnsTitles,$params->columnsWidthand$params->columnsDataare deprecated. Of course, with backward compatibility. - + Add button is inserted in every row (closes #7).
- * Small style changes.
Version 4.6
- * Attention! (MODX)EvolutionCMS.plugins.ManagerManager >= 0.6.3 is required.
- * Be advised! You should use the
imageand / orfilecolumn types instead offield(backward compatibility maintained). - * The
$dirvariable was renamed as$richtextIncludeDirectorybecause of some namespace troubles. - * The
textareainput type is now required for TVs with multiple fields regardless of what their field types are. - *
$.ddMM.mm_ddMultipleFieldshas been updated to 1.2:- * You should use the
imageand / orfilecolumn types instead offield. - - The parameters
makeFieldFunctionandbrowseFuntionwere removed as unnecessary. - - The method
maskQuouteshas been removed. Therefore, quotes are not now converted to html-entities. - * Values of inputs are assigned via
$.fn.val. - * Added initializations of the following functions
OpenServerBrowser,BrowseServer,BrowseFileServer,SetUrlChange,SetUrlif required (it's a copy from the MODX kernel). - * Modification of
SetUrlis performed only for old versions of MODX (if the functionSetUrlChangeis absent).
- * You should use the
Version 4.5.1
- *
jQuery.fn.mm_ddMultipleFieldshas been updated to 1.0.1:- * Removing events of the (MODX)EvolutionCMS.plugins.ManagerManager.mm_widget_showimagetvs plugin has been added.
- *
richtext/index.php:- * The redundant slash has been removed from the include statements.
- * The
manager/includes/protect.inc.phpfile is icluded beforemanager/includes/config.inc.php. - * The relative path and
MGR_DIRare used in include statements instead ofMODX_MANAGER_PATH(needed if the site is not located in$_SERVER['DOCUMENT_ROOT']).
Version 4.5
- * Attention! (MODX)EvolutionCMS.plugins.ManagerManager >= 0.6 is required.
- + The new
richtexttype of$coloumnshas been added. - + Support of the
textareaandemailTV types has been added. - * The three calls of
tplUseTvswere replaced by the single one with arguments. - * JS and CSS files are currently included via
includeJsCssto avoid occuring of duplicates. - * The JS code became a stand-alone file and was partially revised. It is convenient because of PHP code cleanness and it shortens the amount of code of a document edit frame.
- * The including of required JS and CSS files is currently being realized while occuring the event
OnDocFormPrerender. The files are included as HTML. - * Special chars are currently escaped during parsing of
columnsDataregardless of eval use. - * The title and width of the column
idare set as''and0respectively due to redundancy of the data because the column is hidden. - * The exception for outputting of columns of the
idtype while iterating over their headers has been created. They are currently rendered as empty undisplayed<th>.
Version 4.4.2
- * The template ID of a current document is set equally to
$mm_current_page['template'].