- + Parameters →
$params->columns[i]['defaultValue']: The new optional parameter. Provides the ability to set a custom value that will be used to check when deleting empty rows.
- * Richtext editor window:
- + Widget version has been added to included CSS and JS to prevent browser cache after updates.
- * Style has been improved.
- + README → Links → GitHub.
- * Richtext editor window: Style has been improved.
- + Parameters →
$params->columns[i]['alias']:- + The new optional parameter. Provides the ability to set a custom result key for each column instead of simple numeric index.
- + The widget also supports changing indexes to aliases for TVs already filled with existing values.
- * Missed icon in the “add” button has been fixed. Many thanks to @byscrimm.
- + Composer.json:
- +
support→chat. - +
authors→ author →homepage.
- +
- * Improved working with deprecated
idcolumns. - * Improved working with invalid JSON field values.
- * (MODX)EvolutionsCMS.libraries.ddTools is including from
assets/libs/ddTools/, because ManagerManager does not contain the library files anymore.
- *
jQuery.ddMM.mm_ddMultipleFields.init: Missing table header was fixed. - + README → Links → Packagist.
- * Richtext column: TinyMCE uses CMS config.
- * The repository structure was changed.
- * Richtext column: All
<,>and&are not replaced to HTML entities (<,>and&respectively).
- * Improved uniqueness row ID while it is used for backward compatibility.
- *
jQuery.ddMM.mm_ddMultipleFields.init: Fixed deprecated ID column using.
- * 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.
- * New path of (MODX)EvolutionCMS.libraries.ddTools for compatibility with the new ManagerManager version.
- * 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.
- *
jQuery.ddMM.mm_ddMultipleFields:- * Datepicker now gets the value of day and months from MODX config.
- *
makeSelect: Set field width using the parameter.
- * 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.
- * 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.
- * 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
- *
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']).
- * 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>.
- * The template ID of a current document is set equally to
$mm_current_page['template'].
- * The
+button bug while initializing the widget has been fixed.
- + The new types of
$columnswere added (textarea,date). - * The number of titles in
$columnsTitlecan be smaller than the number of columns. In that case the extra-columns titles will be empty. - * jQuery-UI has been removed from the widget folder (because it is located in
/assets/plugins/managermanager/js/as well as jQuery). - * Optimization for the new version of jQuery.
- * The updating of an original field takes place while saving of a whole document document (it really makes everything simplier).
- * Widget appearance was simplified.
- * The
+button is no longer active when the rows maximum is reached. - * The errors in the parameters names have been eliminated.
- * Refactoring for optimization.
- * The minimal number of rows bug has been fixed. The array used to be filled by
undefinedvalues so the error ofreplacemethod occurred.
- * The error of
idfield has been eliminated. The lastidvalue used to be deleted and used not to be created again.
- * Premature initialization of field with image error has been eliminated (the
change.ddEventsevent). - * Minor code changes.