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
Friends Of REDAXO zum Profil
Versionen
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
4.2.3
MForm Modul-Input-Formular Addon Version 4.2.3 für Redaxo 5
- load template form data addon path
3.0.0
MForm Modul-Input-Formular Addon Version 3.0.0 für Redaxo 4.6.x