Skip to content

7.0.1 RENOVATIO .1

Compare
Choose a tag to compare
@skerbis skerbis released this 31 Mar 09:57
· 294 commits to master since this release
e75a311

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