Feature #36609
openOverwriting flexform in page TSConfig is not respected in TCEMain
0%
Description
Overwriting flexform values for tt_content in page TSConfig works fine when generating the form, but when TCEMain saves the record the flexform is read again but not overwritten by TSConfig. This gives issues when changing the eval config of a field in flexform. Because in the form it works like expected, but when saving an unexpected value is stored.
Example:
TCEFORM { tt_content { pi_flexform { table { sDEF { acctables_tableclass { config { default = table table-bordered eval = trim } } } } } } }
Allows multiple classes in the form, but when saving the original eval value "nospace,trim,alphanum_x" (typo3/sysext/css_styled_content/flexform_ds.xml:88) is used and removes the space and other things..
Updated by Burkhard Görtz almost 11 years ago
Aske Ertmann wrote:
Allows multiple classes in the form, but when saving the original eval value "nospace,trim,alphanum_x" (typo3/sysext/css_styled_content/flexform_ds.xml:88) is used and removes the space and other things..
As a workaround you could create your own flexform_table.xml in your extension and replace the original one from css_styled_content in your ext_tables.php:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:'.$_EXTKEY.'/flexform_table.xml', 'table');
Updated by Mathias Schreiber over 9 years ago
- Target version changed from 4.7.1 to 7.4 (Backend)
- Is Regression set to No
Updated by Susanne Moog over 8 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Oliver Hader over 6 years ago
- Tracker changed from Bug to Feature
PageTS for TCEFORM is just not analyzed in DataHandler. So, this would be a general topic to process the relevant parts in DataHandler.
Updated by Oliver Hader over 6 years ago
- Status changed from New to Accepted
- Complexity set to medium
Updated by Garvin Hicking 22 days ago
- Related to Bug #103532: Using TSconfig TCEFORM to change existing flexform field configuration does not work added