[TYPO3] MM relation - show Labels instead of IDs

Antony Suransky suransky at kios.sk
Thu Nov 9 13:39:38 CET 2006


Hello,

I have hopefully a simple question, but didn't find solution for a too long time.

situation :
simple MM relation : T1 <- T1_T2_mm -> T2['uid','label_column']

Is it possible to show in BE in select lists T2.label_column instead of T2.uid (where T2.uid = T1_T2_mm.uid_foreign )?

config is done this normal way :
'config' => array(
    'type' => 'select',
    'treeView' => 0,
    'foreign_table' => 'tx_itemcategory',
    'size' => 5,
    'autoSizeMax' => 25,
    'minitems' => 0,
    'maxitems' => 50,
    'MM' => 'tt_address_tx_itemcategory_mm',
)

I thought that some simple attrib can be added like
    'foreign_table_label_column' = 'label_column'
but didn't find nothing like that in docs.

Thanks for any hint,

Tony







More information about the TYPO3-english mailing list