AddOn


MForm Modul-Input-Formular Addon

Beschreibung

MForm ist ein Redaxo Addon, dass das Erstellen von Modul Formularen erheblich erleichtert. Das Anlegen von, Select-, Multiselect-Feldern, Checkboxen, Radiobuttons, Input-Textfeldern und Textarea-Feldern war noch nie so einfach.

MForm ist ein Redaxo Addon, welches das Erstellen von Modul-Formularen erheblich erleichtert. Dabei nutzt MForm Templates welche es dem Administrator ermöglichen den Modul-Style seinen Vorstellungen anzupassen. MForm stellt alle wesentlichen Modul-Input-Formular Elemente bereit welche sich recht einfach einbinden lassen.

Die aktuellste MForm Version auf Github: https://github.com/FriendsOfREDAXO/mform

Eine umfangreiche Anleitung im Github-Wiki: https://github.com/FriendsOfREDAXO/mform/wiki


Umsetzung

Versionen

7.4.4

Für REDAXO
^5.10.0
Veröffentlicht am
09.04.2024
Require / PHP
>=7.6

7.4.3

Für REDAXO
^5.10.0
Veröffentlicht am
29.03.2024
Require / PHP
>=7.6

What's Changed

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.4.2...7.4.3

7.4.2

Für REDAXO
^5.10.0
Veröffentlicht am
26.03.2024
Require / PHP
>=7.6

What's Changed

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.4.0...7.4.2

7.4.0

Für REDAXO
^5.10.0
Veröffentlicht am
04.03.2024
Require / PHP
>=7.6

What's Changed

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.3.3...7.4.0

7.3.3

Für REDAXO
^5.10.0
Veröffentlicht am
12.02.2024
Require / PHP
>=7.6

What's Changed

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.3.2...7.3.3

7.3.2

Für REDAXO
^5.10.0
Veröffentlicht am
08.02.2024
Require / PHP
>=7.6

7.3.1

Für REDAXO
^5.10.0
Veröffentlicht am
07.02.2024
Require / PHP
>=7.4

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.3.0...7.3.1

7.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.9...7.3.0

Seit 7.0

ACHTUNG!
Vollständig neues Release bitte unbedingt die Hinweise beachten

Version 7.0.1 RENOVATIO

min. PHP-Version 7.4

Version 7.0.0 RENOVATIO .1

  • added column element for some form input column elements
  • removed element fragments and added stuff to wrapper fragment
  • removed author email address
  • wrapper fragment changed, remove id handling in output and js for accordion, collapse and tab
  • properties direction changed in addAccordionField, addCollapseField
  • open properties added to addTabField
  • added inline wrapper element addInlineElement
  • minor css changes @skerbis
  • add php 7.x compatibility
  • add fragment files
  • remove data themes and use fragments as theme templates
  • add radio-, checkbox and select toggle options for collapse
  • add radio-, checkbox and select toggle options for tabs
  • create generic collapse, accordion and tab handling for mblock usage
  • remove deprecated stuff
  • remove default theme config form in addon page
  • ytemplates moved from data to addon root path
  • remove docs plugin and unused lang strings
  • make example modules installable
  • revised all example modules remove all .ini's and use instead of them .inc files
  • add new wrapper example files
  • validations removed
  • changed screenshot @skerbis
  • correcting readme @skerbis
  • add english readme @sckerbis
  • add readme to backend pages @skerbis
  • add changelog to backend navigation @skerbis
  • fix double quote issue @dtpop

Migration to from v6.x.x to v7.x.x

  1. Removed class methods:

    1. addEditorField
    2. addCke5Field
    3. addFieldset
    4. closeFieldset
    5. addTab
    6. closeTab
    7. addCollapse
    8. closeCollapse
    9. addAccordion
    10. closeAccordion
    11. isSerial
    12. setToggle
    13. setValidation
    14. setValidations
  2. Renamed class methods:

    1. addOption => setOption
    2. addAttribute => setAttribute
    3. disableOptions => setDisableOptions
    4. disableOption => setDisableOption
    5. addFieldsetField => addFieldsetArea
    6. addCollapseField => addCollapseElement
    7. addTabField => addTabElement
    8. addAccordionField => addAccordionElement
    9. addTooltipInfo => setTooltipInfo
    10. addCollapseInfo => setCollapseInfo
    11. addParameters => setParameters
    12. addParameter => setParameter

Migration how do?

  • Call to undefined method MForm::addFieldset() or MForm::closeFieldset()
    • Use addFieldsetArea like MForm::factory()->addFieldsetArea('Label', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addCollapse() or MForm::closeCollapse()
    • Use addCollapseElement like MForm::factory()->addCollapseElement('Collapse', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addTab() or MForm::closeTab()
    • Use addTabElement like MForm::factory()->addTabElement('Tab', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addAccordion() or MForm::closeAccordion()
    • Use addAccordionElement like MForm::factory()->addAccordionElement('Accordion' MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addEditorField() or MForm::addCke5Field
    • Use addTextAreaField with editor attributes like $mform->addTextAreaField('1', ['class' => 'cke5-editor', 'data-lang' => \Cke5\Utils\Cke5Lang::getUserLang(), 'data-profile' => 'default']);
  • Call to undefined method MForm::addOption() or MForm::addAttribute() or MForm::disableOptions() or MForm::disableOption()
    • Check the list Renamed class methods and use the new method name instead of the old one
  • Call to undefined method MForm::setToggle()
    • Use addToggleCheckboxField instead of addCheckboxField with setToggle

7.3.0

Für REDAXO
^5.10.0
Veröffentlicht am
01.06.2023
Require / PHP
>=7.4

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.9...7.3.0

7.2.9

Für REDAXO
^5.10.0
Veröffentlicht am
24.05.2023
Require / PHP
>=7.4

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.8...7.2.9

7.2.8

Für REDAXO
^5.10.0
Veröffentlicht am
24.03.2023
Require / PHP
>=7.4

What's Changed

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.7...7.2.8

7.2.7

Für REDAXO
^5.10.0
Veröffentlicht am
02.01.2023
Require / PHP
>=7.4

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.6...7.2.7

7.2.6

Für REDAXO
^5.10.0
Veröffentlicht am
02.01.2023
Require / PHP
>=7.4

7.2.4

Für REDAXO
^5.10.0
Veröffentlicht am
24.11.2022
Require / PHP
>=7.4

Bugfix-Release
Fixes: https://github.com/FriendsOfREDAXO/mform/issues/275
Values vom nachfolgenden Modul werden übernommen

Reported and tested by: @fietstouring, @alxndr-w and @ischfr

7.2.3

Für REDAXO
^5.10.0
Veröffentlicht am
17.11.2022
Require / PHP
>=7.4

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.2...7.2.3-beta1

7.2.3-beta2

Für REDAXO
^5.10.0
Veröffentlicht am
17.11.2022
Require / PHP
>=7.4

What's Changed

New Contributors

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.2...7.2.3-beta1

7.2.3-beta1

Für REDAXO
^5.10.0
Veröffentlicht am
16.11.2022
Require / PHP
>=7.4
 

7.2.2

Für REDAXO
^5.10.0
Veröffentlicht am
04.10.2022
Require / PHP
>=7.4
  • fix PHP 8.1 deprecation warnings
  • prevent module action when Gridblock addon is used @skerbis

7.2.1

Für REDAXO
^5.10.0
Veröffentlicht am
10.09.2022
Require / PHP
>=7.4
  • make mform manipulable

7.2.0

Für REDAXO
^5.10.0
Veröffentlicht am
12.08.2022
Require / PHP
>=7.4

Neu: ImageList-Höhe automatisch

Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.1.2...7.2.0

7.1.2

Für REDAXO
^5.10.0
Veröffentlicht am
01.08.2022
Require / PHP
>=7.4

PRESAVE-Action: Die REX_VALUES werden nach einer PRESAVE Aktion aus dem $_POST geladen.
Dadurch sind Validierungen ohne Neueingabe des Contents jetzt möglich. @skerbis

7.1.1

Für REDAXO
^5.10.0
Veröffentlicht am
06.07.2022
Require / PHP
>=7.4

Version 7.1.1

  • use mblock:change event to reinit mform elements

7.1.0

Für REDAXO
^5.10.0
Veröffentlicht am
04.07.2022
Require / PHP
>=7.4

Version 7.1.0

  • remove form-group wrapper for hidden input fields
  • fix collapse accordion aria-expanded click issue
  • added the selectpicker class by default, to remove it you have use the class none-selectpicker on your select element
  • added mblock compatibility for mform usage of with the selectpicker
  • fix some small issues to get ability for combined and nested wrapper element usage

7.0.1

Für REDAXO
^5.10.0
Veröffentlicht am
31.03.2022
Require / PHP
>=7.4

ACHTUNG!
Vollständig neues Release bitte unbedingt die Hinweise beachten

Version 7.0.1 RENOVATIO

min. PHP-Version 7.4

Version 7.0.0 RENOVATIO .1

  • added column element for some form input column elements
  • removed element fragments and added stuff to wrapper fragment
  • removed author email address
  • wrapper fragment changed, remove id handling in output and js for accordion, collapse and tab
  • properties direction changed in addAccordionField, addCollapseField
  • open properties added to addTabField
  • added inline wrapper element addInlineElement
  • minor css changes @skerbis
  • add php 7.x compatibility
  • add fragment files
  • remove data themes and use fragments as theme templates
  • add radio-, checkbox and select toggle options for collapse
  • add radio-, checkbox and select toggle options for tabs
  • create generic collapse, accordion and tab handling for mblock usage
  • remove deprecated stuff
  • remove default theme config form in addon page
  • ytemplates moved from data to addon root path
  • remove docs plugin and unused lang strings
  • make example modules installable
  • revised all example modules remove all .ini's and use instead of them .inc files
  • add new wrapper example files
  • validations removed
  • changed screenshot @skerbis
  • correcting readme @skerbis
  • add english readme @sckerbis
  • add readme to backend pages @skerbis
  • add changelog to backend navigation @skerbis
  • fix double quote issue @dtpop

Migration to from v6.x.x to v7.x.x

  1. Removed class methods:

    1. addEditorField
    2. addCke5Field
    3. addFieldset
    4. closeFieldset
    5. addTab
    6. closeTab
    7. addCollapse
    8. closeCollapse
    9. addAccordion
    10. closeAccordion
    11. isSerial
    12. setToggle
    13. setValidation
    14. setValidations
  2. Renamed class methods:

    1. addOption => setOption
    2. addAttribute => setAttribute
    3. disableOptions => setDisableOptions
    4. disableOption => setDisableOption
    5. addFieldsetField => addFieldsetArea
    6. addCollapseField => addCollapseElement
    7. addTabField => addTabElement
    8. addAccordionField => addAccordionElement
    9. addTooltipInfo => setTooltipInfo
    10. addCollapseInfo => setCollapseInfo
    11. addParameters => setParameters
    12. addParameter => setParameter

Migration how do?

  • Call to undefined method MForm::addFieldset() or MForm::closeFieldset()
    • Use addFieldsetArea like MForm::factory()->addFieldsetArea('Label', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addCollapse() or MForm::closeCollapse()
    • Use addCollapseElement like MForm::factory()->addCollapseElement('Collapse', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addTab() or MForm::closeTab()
    • Use addTabElement like MForm::factory()->addTabElement('Tab', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addAccordion() or MForm::closeAccordion()
    • Use addAccordionElement like MForm::factory()->addAccordionElement('Accordion' MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addEditorField() or MForm::addCke5Field
    • Use addTextAreaField with editor attributes like $mform->addTextAreaField('1', ['class' => 'cke5-editor', 'data-lang' => \Cke5\Utils\Cke5Lang::getUserLang(), 'data-profile' => 'default']);
  • Call to undefined method MForm::addOption() or MForm::addAttribute() or MForm::disableOptions() or MForm::disableOption()
    • Check the list Renamed class methods and use the new method name instead of the old one
  • Call to undefined method MForm::setToggle()
    • Use addToggleCheckboxField instead of addCheckboxField with setToggle

7.0.0

Für REDAXO
^5.10.0
Veröffentlicht am
17.03.2022
Require / PHP
>=7.3

ACHTUNG!
Vollständig neues Release bitte unbedingt die Hinweise beachten
Diese Version ist nicht kompatibel mit den Vorgängerversionen. Bitte das Migration how do beachten.

Version 7.0.0 RENOVATIO

  • added column element for some form input column elements
  • removed element fragments and added stuff to wrapper fragment
  • removed author email address
  • wrapper fragment changed, remove id handling in output and js for accordion, collapse and tab
  • properties direction changed in addAccordionField, addCollapseField
  • open properties added to addTabField
  • added inline wrapper element addInlineElement
  • minor css changes @skerbis
  • add php 7.x compatibility
  • add fragment files
  • remove data themes and use fragments as theme templates
  • add radio-, checkbox and select toggle options for collapse
  • add radio-, checkbox and select toggle options for tabs
  • create generic collapse, accordion and tab handling for mblock usage
  • remove deprecated stuff
  • remove default theme config form in addon page
  • ytemplates moved from data to addon root path
  • remove docs plugin and unused lang strings
  • make example modules installable
  • revised all example modules remove all .ini's and use instead of them .inc files
  • add new wrapper example files
  • validations removed
  • changed screenshot @skerbis
  • correcting readme @skerbis
  • add english readme @sckerbis
  • add readme to backend pages @skerbis
  • add changelog to backend navigation @skerbis
  • fix double quote issue @dtpop

Migration to from v6.x.x to v7.x.x

  1. Removed class methods:

    1. addEditorField
    2. addCke5Field
    3. addFieldset
    4. closeFieldset
    5. addTab
    6. closeTab
    7. addCollapse
    8. closeCollapse
    9. addAccordion
    10. closeAccordion
    11. isSerial
    12. setToggle
    13. setValidation
    14. setValidations
  2. Renamed class methods:

    1. addOption => setOption
    2. addAttribute => setAttribute
    3. disableOptions => setDisableOptions
    4. disableOption => setDisableOption
    5. addFieldsetField => addFieldsetArea
    6. addCollapseField => addCollapseElement
    7. addTabField => addTabElement
    8. addAccordionField => addAccordionElement
    9. addTooltipInfo => setTooltipInfo
    10. addCollapseInfo => setCollapseInfo
    11. addParameters => setParameters
    12. addParameter => setParameter

Migration how do?

  • Call to undefined method MForm::addFieldset() or MForm::closeFieldset()
    • Use addFieldsetArea like MForm::factory()->addFieldsetArea('Label', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addCollapse() or MForm::closeCollapse()
    • Use addCollapseElement like MForm::factory()->addCollapseElement('Collapse', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addTab() or MForm::closeTab()
    • Use addTabElement like MForm::factory()->addTabElement('Tab', MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addAccordion() or MForm::closeAccordion()
    • Use addAccordionElement like MForm::factory()->addAccordionElement('Accordion' MForm::factory()->addTextField(1, ['label' => 'Text']));
  • Call to undefined method MForm::addEditorField() or MForm::addCke5Field
    • Use addTextAreaField with editor attributes like $mform->addTextAreaField('1', ['class' => 'cke5-editor', 'data-lang' => \Cke5\Utils\Cke5Lang::getUserLang(), 'data-profile' => 'default']);
  • Call to undefined method MForm::addOption() or MForm::addAttribute() or MForm::disableOptions() or MForm::disableOption()
    • Check the list Renamed class methods and use the new method name instead of the old one
  • Call to undefined method MForm::setToggle()
    • Use addToggleCheckboxField instead of addCheckboxField with setToggle

6.1.2

Für REDAXO
^5.10.0
Veröffentlicht am
12.12.2021
Require / PHP
>=7.3

Version 6.1.2

  • Fix: UTF-8 encoding for arabic and other charsets in link and link-lists

5.3.1

Für REDAXO
^5.6.5
Veröffentlicht am
25.03.2019

5.3.1

Ein Problem mit JSON-Values wurde behoben. Es war nicht mehr möglich Module mit JSON-Values zu erstellen oder zu pflegen.

Version 5.3

MFORM ist jetzt noch besser :-)
Nicht nur für Module

  • Custom Links jetzt in rex_form und YForm möglich
  • Die ImgList ist jetzt Teil von MFORM. Und jetzt auch in YForm und rex_form einsetzbar

Wer die Formulare nicht mit MFORM bauen will, aber dennoch die Widgets benutzen möchte:
Bitteschön: REX_IMGLIST[] und REX_CUSTOM_LINK[]

  • added custom link as widget REX_CUSTOM_LINK[]
  • exchange custom link for yform and rex_form
  • added image list widget for mfrom, rex_form and yform REX_IMGLIST[]