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.3.0
What's Changed
- getCustomLinkText / generateCustomLinkElement extensionPoints by @philippparth in https://github.com/FriendsOfREDAXO/mform/pull/287
New Contributors
- @philippparth made their first contribution in https://github.com/FriendsOfREDAXO/mform/pull/287
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.9...7.3.0
7.2.9
What's Changed
- Fix Dprecated Warning in PHP8.1 by @marcohanke in https://github.com/FriendsOfREDAXO/mform/pull/286
New Contributors
- @marcohanke made their first contribution in https://github.com/FriendsOfREDAXO/mform/pull/286
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.8...7.2.9
7.2.8
What's Changed
- Deprecated Warning in PHP 8.1 by @IngoWinter in https://github.com/FriendsOfREDAXO/mform/pull/285
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.7...7.2.8
7.2.7
What's Changed
- Update MFormElements.php by @danspringer in https://github.com/FriendsOfREDAXO/mform/pull/282
New Contributors
- @danspringer made their first contribution in https://github.com/FriendsOfREDAXO/mform/pull/282
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.6...7.2.7
7.2.6
fixes: https://github.com/FriendsOfREDAXO/mform/issues/281
Danke: @danspringer
7.2.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
What's Changed
- Update MFormElements.php by @dtpop in https://github.com/FriendsOfREDAXO/mform/pull/272
- removed: gridlock fixes @skerbis
- fixed: https://github.com/FriendsOfREDAXO/mform/issues/241 @skerbis
New Contributors
- @dtpop made their first contribution in https://github.com/FriendsOfREDAXO/mform/pull/272
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.2...7.2.3-beta1
7.2.3-beta2
What's Changed
- Update MFormElements.php by @dtpop in https://github.com/FriendsOfREDAXO/mform/pull/272
- removed: gridlock fixes @skerbis
- fixed: https://github.com/FriendsOfREDAXO/mform/issues/241 @skerbis
New Contributors
- @dtpop made their first contribution in https://github.com/FriendsOfREDAXO/mform/pull/272
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.2.2...7.2.3-beta1
7.2.3-beta1
7.2.2
- fix PHP 8.1 deprecation warnings
- prevent module action when Gridblock addon is used @skerbis
7.2.1
- make mform manipulable
7.2.0
Neu: ImageList-Höhe automatisch
Full Changelog: https://github.com/FriendsOfREDAXO/mform/compare/7.1.2...7.2.0
7.1.2
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
Version 7.1.1
- use mblock:change event to reinit mform elements
7.1.0
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
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
-
Removed class methods:
- addEditorField
- addCke5Field
- addFieldset
- closeFieldset
- addTab
- closeTab
- addCollapse
- closeCollapse
- addAccordion
- closeAccordion
- isSerial
- setToggle
- setValidation
- setValidations
-
Renamed class methods:
- addOption => setOption
- addAttribute => setAttribute
- disableOptions => setDisableOptions
- disableOption => setDisableOption
- addFieldsetField => addFieldsetArea
- addCollapseField => addCollapseElement
- addTabField => addTabElement
- addAccordionField => addAccordionElement
- addTooltipInfo => setTooltipInfo
- addCollapseInfo => setCollapseInfo
- addParameters => setParameters
- addParameter => setParameter
Migration how do?
Call to undefined method MForm::addFieldset()
orMForm::closeFieldset()
- Use
addFieldsetArea
likeMForm::factory()->addFieldsetArea('Label', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addCollapse()
orMForm::closeCollapse()
- Use
addCollapseElement
likeMForm::factory()->addCollapseElement('Collapse', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addTab()
orMForm::closeTab()
- Use
addTabElement
likeMForm::factory()->addTabElement('Tab', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addAccordion()
orMForm::closeAccordion()
- Use
addAccordionElement
likeMForm::factory()->addAccordionElement('Accordion' MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addEditorField()
orMForm::addCke5Field
- Use
addTextAreaField
with editor attributes like$mform->addTextAreaField('1', ['class' => 'cke5-editor', 'data-lang' => \Cke5\Utils\Cke5Lang::getUserLang(), 'data-profile' => 'default']);
- Use
Call to undefined method MForm::addOption()
orMForm::addAttribute()
orMForm::disableOptions()
orMForm::disableOption()
- Check the list
Renamed class methods
and use the new method name instead of the old one
- Check the list
Call to undefined method MForm::setToggle()
- Use
addToggleCheckboxField
instead ofaddCheckboxField
withsetToggle
- Use
7.0.0
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
-
Removed class methods:
- addEditorField
- addCke5Field
- addFieldset
- closeFieldset
- addTab
- closeTab
- addCollapse
- closeCollapse
- addAccordion
- closeAccordion
- isSerial
- setToggle
- setValidation
- setValidations
-
Renamed class methods:
- addOption => setOption
- addAttribute => setAttribute
- disableOptions => setDisableOptions
- disableOption => setDisableOption
- addFieldsetField => addFieldsetArea
- addCollapseField => addCollapseElement
- addTabField => addTabElement
- addAccordionField => addAccordionElement
- addTooltipInfo => setTooltipInfo
- addCollapseInfo => setCollapseInfo
- addParameters => setParameters
- addParameter => setParameter
Migration how do?
Call to undefined method MForm::addFieldset()
orMForm::closeFieldset()
- Use
addFieldsetArea
likeMForm::factory()->addFieldsetArea('Label', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addCollapse()
orMForm::closeCollapse()
- Use
addCollapseElement
likeMForm::factory()->addCollapseElement('Collapse', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addTab()
orMForm::closeTab()
- Use
addTabElement
likeMForm::factory()->addTabElement('Tab', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addAccordion()
orMForm::closeAccordion()
- Use
addAccordionElement
likeMForm::factory()->addAccordionElement('Accordion' MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addEditorField()
orMForm::addCke5Field
- Use
addTextAreaField
with editor attributes like$mform->addTextAreaField('1', ['class' => 'cke5-editor', 'data-lang' => \Cke5\Utils\Cke5Lang::getUserLang(), 'data-profile' => 'default']);
- Use
Call to undefined method MForm::addOption()
orMForm::addAttribute()
orMForm::disableOptions()
orMForm::disableOption()
- Check the list
Renamed class methods
and use the new method name instead of the old one
- Check the list
Call to undefined method MForm::setToggle()
- Use
addToggleCheckboxField
instead ofaddCheckboxField
withsetToggle
- Use
6.1.2
Version 6.1.2
- Fix: UTF-8 encoding for arabic and other charsets in link and link-lists
6.1.1
Version 6.1.1
- Adding return types for yform methods
6.1.0
- New: Dark-mode support for REDAXO >= 5.13 @schuer @skerbis
6.1.0
- New: Dark-mode support for REDAXO >= 5.13 @schuer @skerbis
- Fixed: Version compare @skerbis
6.0.13
@MC-PMOE fixed multiselect
https://github.com/FriendsOfREDAXO/mform/issues/233#issuecomment-934659995
Neu die Prüfung bei JSON Values 1.x.x
6.0.11
Es ist ggf. erforderlich, dass Anpassungen durchgeführt werden müssen.
5.3.1
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[]
5.2.4
re-add special input types support
5.2.2
Parameter must be an array warning fix
5.2.1
- fixed: Media-Button Parameter type space
- Link-Title for Custom-Link Buttons added
- Attributes for media- and link-elements added, which allows validation via Parsley
- fixed: c14n html body wrapping removed
- now uses includeCurrentPageSubPath to show pages @christophboecker
- Cache buster will be added by rex core @staabm
- init.js simplified @staabm
- Add Info Tooltip
- Bootstrap Toggle Checkbox als neues Element addToggleCheckboxField hinzugefügt
- 4 Alert Message Elemente hinzugefügt
- Collapse Panel für Formular elemente hinzugefügt, das steuern der Collapse über Checkboxen ist möglich
$mform->addToggleCheckboxField('1.show_icons', [1 => ''], ['label' => 'Icon verwenden', 'label-col-class' => 'col-md-3', 'form-item-col-class' => 'col-md-9'], null, 1);
setLabelColClass und setFormItemColClass hinzugefügt, ermöglicht das überschrieben der Standard "col-md-x" Classen
$mform->addTextField('2.0.title', ['label' => 'Titel'], ['empty']);
$mform->setLabelColClass('col-md-3');
$mform->setFormItemColClass('col-md-9');
$mform->addAlertInfo('Heads up! This alert needs your attention, but it\'s not super important.');
$mform->addAlertSuccess('Well done! You successfully read this important alert message.');
$mform->addAlertDanger('Oh snap! Change a few things up and try submitting again.');
$mform->addAlertWarning("Warning! Better check yourself, you're not looking too good.");
5.1.1
MForm Modul-Input-Formular Addon Version 5.1.1 für Redaxo 5
Hinweis: Nach Update könnte eine "reinstall" nötig sein.
ACHTUNG: Bei Updates von Seiten in denen MForm-Multiple-Selects genutzt werden wird es zu Problemen kommen! Die Modulausgaben müssen angepasst werden.
Zu beachten: Bei Aktualisierungen von Versionen kleiner als 5.1.0
Ein Hidden-Input Feld welches Komma-separiert die selected-options aufnimmt gibt es nicht mehr.
Multiple Selects werden künftig als JSON-String direkt im REX_VALUE gespeichert. Dies Wirkt sich auf die Auswertung der REX_VALUES im Modul-Output aus.
Weitere Infos unten:
5.1.1
- PHP 7.2-fix
5.1.0
- add doc plugin
- custom link add mailto, tel link buttons
- add diverse examples
- remove unused old mform 4
- fix fieldset autolose bug
- multiple select js removes
- use array insert name for multiple selects
- add tabs
- news tab style by Thomas Skerbis
- fix theme config name bug
- add attribute to checked elements
- class refactoring
- remove help.php
5.0.0-beta-3
MForm Modul-Input-Formular Addon Version 5.0.0-beta-3 für Redaxo 5
- komplett neue Code-Basis
- diverse Bugs behoben
- Validierung via Parsley 2
- vieles mehr
3.0.0
MForm Modul-Input-Formular Addon Version 3.0.0 für Redaxo 4.6.x