[TYPO3] $TCA based labeling for fields with foreign uid's
Jochen Rieger
j.rieger at connecta.ag
Fri Mar 10 14:30:38 CET 2006
Hi all,
I am looking for a way to change the label of a record in the list
module. Usually this of cause works fine in the CTRL-section of your
table's TCA.
But what if you have records that don't have a real title but just
consist of uid's of other records?
Is there a way in the TCA configuration to get the title of a foreign
record's uid?
Example:
tx_cafeteria
uid, title, ...
tx_dishes
uid, title, ...
tx_meals
uid, dish_uid, dish_cafeteria
I now want the meals records labeled by the title of the related entry
in tx_dishes.
Something like:
$TCA['tx_meals'] = Array (
'ctrl' => Array (
'label' => 'TABLE:tx_dishes:dish_uid:title'
Is there any known way?
Any kind of help or hint is appreciated.
Thanks, regards,
Jochen
More information about the TYPO3-english
mailing list