Feature #93794
closed
TCA field description is not configurable via TSconfig
Added by S P over 3 years ago.
Updated over 3 years ago.
Description
The description information for TCA fields ( $GLOBALS['TCA']['tx_my_table']['columns']['my_column']['description']
) can not be changed via TSconfig.
Example use case: two different fluid templates (two domains) for the same CType. The element is containing an image. On one template/domain you need to give the editor an advice via description, on the other template you need not.
TCEFORM {
tt_content {
my_field {
description = Hello
}
}
}
The description must be configurable just like the label.
- Status changed from New to Under Review
Hi, thanks for bringing this up. I agree that there are some use-cases where overwriting the description via TSconfig makes sense.
But since this was never claimed to be possible nor documented anywhere and AFAIK no rule exists, which requires new TCA properties to be rewritable with TSconfig, this sounds more like a feature request to me. Do you agree?
Especially when looking at the patchset I pushed some minutes ago, only public API is used for this change. So, this could also be easily integrated in your custom extensions code when needed in a version below current master.
You are right, this is not documented nor implemented. I assumed this must work because the description feature is newer than TSconfig and I lightheartedly assumed that new core configuration features are configurable alongside existing core configuration schemes, which seems not to be the case. ;)
Yes, using a FormProvider makes this possible (and I certainly will make use of this as long it's not in core), but there are also setups/integrators that are not capable of PHP. It wals always a strength of TYPO3 to also satisfy these users.
- Tracker changed from Bug to Feature
- TYPO3 Version deleted (
9)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
- Related to Bug #94424: TCA description not overridden with TCFORM config added
- Related to deleted (Bug #94424: TCA description not overridden with TCFORM config)
- Has duplicate Bug #94424: TCA description not overridden with TCFORM config added
Also available in: Atom
PDF