Repository navigation
7.0.0 RENOVATIO
ACHTUNG!
Vollständig neues Release bitte unbedingt die Hinweise 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
addFieldsetArealikeMForm::factory()->addFieldsetArea('Label', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addCollapse()orMForm::closeCollapse()- Use
addCollapseElementlikeMForm::factory()->addCollapseElement('Collapse', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addTab()orMForm::closeTab()- Use
addTabElementlikeMForm::factory()->addTabElement('Tab', MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addAccordion()orMForm::closeAccordion()- Use
addAccordionElementlikeMForm::factory()->addAccordionElement('Accordion' MForm::factory()->addTextField(1, ['label' => 'Text']));
- Use
Call to undefined method MForm::addEditorField()orMForm::addCke5Field- Use
addTextAreaFieldwith 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 methodsand use the new method name instead of the old one
- Check the list
Call to undefined method MForm::setToggle()- Use
addToggleCheckboxFieldinstead ofaddCheckboxFieldwithsetToggle
- Use