[TYPO3-english] Labels missing at custom fields in TCA

jeppe at donslund.net jeppe at donslund.net
Tue Aug 14 10:47:26 CEST 2018


Hi Mikel

I really think that I did flush the cache but in TYPO3, in the Install 
tool and in the browser.

This is what I got in my TCA

'tx_befmembers_description' => array(
    		'exclude' => 0,
    		'label' => 
'LLL:EXT:befmembers/Resources/Private/Language/locallang_db.xml:tx_befmembers_description',
    		'config' => array(
    			'type' => 'text',
			'cols' => 30,
			'rows' => 10,
    		),
    	),


Jeppe




Mikel skrev den 13.08.2018 22:20:
> Hi Jeppe,
> 
> have you flushed the caches? The caches are very strict regarding the
> TCA and translations.
> 
> If so, have a referenced your translation file and identifier in the
> TCA correct?
> 
> E.g.:
> 'title' => [
>     'label' =>
> 'LLL:EXT:foobar/Resources/Private/Language/locallang_db.xlf:your_property.title',
>     'config' => [
>         'type' => 'input',
>         'size' => 30,
>         'eval' => 'trim,required'
>     ],
> ],
> Mikel
> 
>> Am 13.08.2018 um 15:25 schrieb jeppe at donslund.net:
>> 
>> Hi
>> 
>> I have added some some extra fields to fe_users with my own extension.
>> I the fe_user TCA he fields are shown, but there is no labels at the 
>> fields.
>> 
>> I have tried with both
>> 
>> <trans-unit id="tx_befmembers_domain_model_befmembers.description">
>>     <source>Description</source>
>> </trans-unit>
>> 
>> and
>> 
>> <trans-unit 
>> id="tx_befmembers_domain_model_befmembers.tx_befmembers_description">
>> 	<source>Description</source>
>> </trans-unit>
>> 
>> But it isn't working.
>> 
>> 
>> Where should I look for an answer?
>> 
>> 
>> BR
>> Jeppe Donslund
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list