Skip to content

Releases: DivanDesign/EvolutionCMS.plugins.ManagerManager.mm_ddMultipleFields

Version 4.8

25 May 14:37

Choose a tag to compare

  • * Richtext column: <, > and & are not replaced to HTML entities (&lt;, &gt; and &amp; 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

25 May 14:33

Choose a tag to compare

  • * New path of (MODX)EvolutionCMS.libraries.ddTools for compatibility with the new ManagerManager version.

Version 4.7.3

25 May 14:33

Choose a tag to compare

  • * Style: Improved input height.
  • * The $modx->getConfig method is used instead of the $modx->config property.
  • * Richtext pupup window (Many thanks to @MrSwed.):
    • + Textarea autofocus.
    • * No scrolls in the window.
    • * Correct window and element sizes.

Version 4.7.1

25 May 14:32

Choose a tag to compare

  • * 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

25 May 14:32

Choose a tag to compare

  • * 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

25 May 14:32

Choose a tag to compare

  • * 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.fields is 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.
      • * currentField was renamed as $currentField.
      • + $parent, $originalField and $table ware added.
  • * The $params->columns parameter now must be an array. Items contain type, title, width and data. $params->columnsTitles, $params->columnsWidth and $params->columnsData are deprecated. Of course, with backward compatibility.
  • + Add button is inserted in every row (closes #7).
  • * Small style changes.

Version 4.6

25 May 14:31

Choose a tag to compare

  • * Attention! (MODX)EvolutionCMS.plugins.ManagerManager >= 0.6.3 is required.
  • * Be advised! You should use the image and / or file column types instead of field (backward compatibility maintained).
  • * The $dir variable was renamed as $richtextIncludeDirectory because of some namespace troubles.
  • * The textarea input type is now required for TVs with multiple fields regardless of what their field types are.
  • * $.ddMM.mm_ddMultipleFields has been updated to 1.2:
    • * You should use the image and / or file column types instead of field.
    • - The parameters makeFieldFunction and browseFuntion were removed as unnecessary.
    • - The method maskQuoutes has 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, SetUrl if required (it's a copy from the MODX kernel).
    • * Modification of SetUrl is performed only for old versions of MODX (if the function SetUrlChange is absent).

Version 4.5.1

25 May 14:31

Choose a tag to compare

  • * jQuery.fn.mm_ddMultipleFields has 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.php file is icluded before manager/includes/config.inc.php.
    • * The relative path and MGR_DIR are used in include statements instead of MODX_MANAGER_PATH (needed if the site is not located in $_SERVER['DOCUMENT_ROOT']).

Version 4.5

25 May 14:31

Choose a tag to compare

  • * Attention! (MODX)EvolutionCMS.plugins.ManagerManager >= 0.6 is required.
  • + The new richtext type of $coloumns has been added.
  • + Support of the textarea and email TV types has been added.
  • * The three calls of tplUseTvs were replaced by the single one with arguments.
  • * JS and CSS files are currently included via includeJsCss to 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 columnsData regardless of eval use.
  • * The title and width of the column id are set as '' and 0 respectively due to redundancy of the data because the column is hidden.
  • * The exception for outputting of columns of the id type while iterating over their headers has been created. They are currently rendered as empty undisplayed <th>.

Version 4.4.2

25 May 14:30

Choose a tag to compare

  • * The template ID of a current document is set equally to $mm_current_page['template'].