Bug #85444
closedTCEFORM: some settings don't work
0%
Description
It's possible to override any defined items with something like this:
TCEFORM { tt_content { layout { config.max = 7 altLabels { 0 = Standard 1 = Slider 2 = Breite 50% 3 = Breite 33.33% 4 = Breite 66.66% 5 = Breite 40% 6 = Breite 60% } } }
But
TCEFORM.tt_content.layout.config.max = 7and
TCEFORM.tt_content.layout.addItems = 4,5,6have no impact and if the default TCA (with four items for that field) is not overwritten or extended, then by the PageTS above not more than 4 fields will be shown (same amount like in TCA).
TYPO3-Version: 9.3, latest from GitHub
Files
Updated by David Bruchmann over 6 years ago
- File TCEforms-itemlist.png TCEforms-itemlist.png added
The attached image shows 4 items despite 7 are conf like above and also with
TCEFORM.tt_content.layout.config.max = 7 TCEFORM.tt_content.layout.addItems = 4,5,6
Updated by Riccardo De Contardi over 5 years ago
Pardon me for the very late reply, but...
TCEFORM.tt_content.layout.addItems = 4,5,6
cannot work; that should be something like (see example in https://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TceForm.html#additems):
TCEFORM.tt_content.layout.addItems{ 4 = example 4 5 = example 5 6 = example 6 }
Also, I am not sure that TCEFORM.tt_content.layout.config.max
would work with a select type; it is not even cited here https://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TceForm.html#config
Updated by David Bruchmann over 5 years ago
Thank's for verification and explanation, that helps.
I think the issue can be closed, in the TCA of 9.5 the max. value is not used, so I never expect problems there.
Updated by Riccardo De Contardi over 5 years ago
- Status changed from New to Closed
- Target version deleted (
next-patchlevel)
Thank you very much for your kind and quick reply. Closing :)
Regards.