[!!!][FEATURE] FormEngine: The extendables
For details, see the ReST files with examples for new API and TCA changes. * Split TCA config "type" to "type" and "renderType": TCA config "type" is a technical debt since it both defines the database storage as well as the widget that is used to render a certain field in FormEngine. While "type" is kept, the render widget is now extracted to a "renderType". * t3editor uses this "renderType" now. type=text with renderType=t3editor will call the new T3editorElement provided by ext:t3editor, and falls back to TextElement if t3editor is not loaded. * t3editor is now enabled for "setup" and "constants" of sys_template records if opening the whole record. * t3editor now works when configured in a flex form. * Introduce an API in FormEngine NodeFactory to register new renderType, used by t3editor. * Introduce a resolver API in FormEngine NodeFactory to change the class that renders a widget or container. * Split TextElement into TextElement that only renders a textarea and RichTextElement provided by ext:rtehtmlarea that renders RTE. ext:rtehtmlarea uses the new resolver API to route rendering to its own class in case RTE is enabled and configured for a field. * In TCA section "types" a new array "columnsOverrides" is introduced that allows overwriting some column configurations of fields. Currently, this works for some View/FormEngine related settings like renderType and defaultExtras. * TCA Migration is introduced to dynamically rewrite TCA before it is put into cache. * TCA migration is called a second time in ext:compatibility6 in case TCA is still registered via ext_tables.php. This has performance penalty since it is done on every frontend and backend call. * TCA migration is also called dynamically for flex form definitions. * TCA migration moves configured t3editor wizards to type=text with renderType=t3editor. * TCA migration removes the 5th parameter "style pointer" from types showitem * TCA migration moves the 4th showitem parameter "extra configuration" to "defaultExtras" of "columnsOverrides" of given TCA type. Change-Id: Ia2c2bc16463a01021c7a6be765b4efa872a130fd Resolves: #67229 Releases: master Reviewed-on: http://review.typo3.org/39662 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Frank Nägler <typo3@naegler.net> Tested-by:
Frank Nägler <typo3@naegler.net> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/backend/Classes/Form/Container/AbstractContainer.php 1 addition, 8 deletions...sext/backend/Classes/Form/Container/AbstractContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormContainer.php 1 addition, 1 deletion...sext/backend/Classes/Form/Container/FlexFormContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormContainerContainer.php 1 addition, 1 deletion...end/Classes/Form/Container/FlexFormContainerContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php 29 additions, 2 deletions...ckend/Classes/Form/Container/FlexFormElementContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormLanguageContainer.php 2 additions, 2 deletions...kend/Classes/Form/Container/FlexFormLanguageContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormNoTabsContainer.php 1 addition, 1 deletion...ackend/Classes/Form/Container/FlexFormNoTabsContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php 2 additions, 2 deletions...ckend/Classes/Form/Container/FlexFormSectionContainer.php
- typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php 1 addition, 1 deletion.../backend/Classes/Form/Container/FlexFormTabsContainer.php
- typo3/sysext/backend/Classes/Form/Container/FullRecordContainer.php 3 additions, 2 deletions...xt/backend/Classes/Form/Container/FullRecordContainer.php
- typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php 1 addition, 1 deletion...backend/Classes/Form/Container/InlineControlContainer.php
- typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php 1 addition, 1 deletion.../backend/Classes/Form/Container/InlineRecordContainer.php
- typo3/sysext/backend/Classes/Form/Container/ListOfFieldsContainer.php 1 addition, 1 deletion.../backend/Classes/Form/Container/ListOfFieldsContainer.php
- typo3/sysext/backend/Classes/Form/Container/NoTabsContainer.php 1 addition, 1 deletion...sysext/backend/Classes/Form/Container/NoTabsContainer.php
- typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php 2 additions, 4 deletions...kend/Classes/Form/Container/PaletteAndSingleContainer.php
- typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php 19 additions, 3 deletions...t/backend/Classes/Form/Container/SingleFieldContainer.php
- typo3/sysext/backend/Classes/Form/Container/SoloFieldContainer.php 2 additions, 2 deletions...ext/backend/Classes/Form/Container/SoloFieldContainer.php
- typo3/sysext/backend/Classes/Form/Container/TabsContainer.php 1 addition, 1 deletion...3/sysext/backend/Classes/Form/Container/TabsContainer.php
- typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php 1 addition, 1 deletion...sext/backend/Classes/Form/Element/AbstractFormElement.php
- typo3/sysext/backend/Classes/Form/Element/GroupElement.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/Element/GroupElement.php
- typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php 1 addition, 1 deletion...backend/Classes/Form/Element/ImageManipulationElement.php
Please register or sign in to comment