[TYPO3-v4] Virtual TCA fields

Steffen Kamper info at sk-typo3.de
Mon Mar 29 21:32:29 CEST 2010


Hi Francois,

Francois Suter schrieb:
> Hi,
> 
>> i sometimes use user-fields for display something, they have no
>> connection to database. The drawback is that you have to render the
>> field by yourself.
> 
> Yes, I use user-fields too. But it would be even better if you didn't 
> need to have the corresponding SQL field, even if it stays empty.
> 

for a user field you don't need a corresponding SQL field - at least you 
don't get any error.

My idea was that you don't need a function for calculating the value, 
like some formating

'type' => 'display',
'displayValue' => date(###FIELD_crdate###,'d/m/Y')

just as dummy example

vg Steffen


More information about the TYPO3-project-v4 mailing list