[TYPO3-german] Zweites Feld in TCA select mit foreign_table werte

Laurie sima at c-sira.de
Wed Apr 2 12:28:32 CEST 2014


Hi Alle,

im Listmodul möchte ich dem Redakteur zwei Felder im Selectfeld der 
foreign_table zur Verfügung stellen

TCA
...
'config' => array(
	'type' => 'select',
	'items' => array(
		array('keine', 0),
		),
	'foreign_table' => 'tx_adminaddress',

	'minitems' => 0,
	'maxitems' => 1,
),
...

Jetzt wird ihm das in ext_tables.php angegebene Feld angezeigt:

$TCA['tx_adminaddress'] = array(
	'ctrl' => array(
		'title'	=> 'Institution',
		'label' => 'institution',
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		...

Ich würde gerne noch Nachname dazu anzeigen:

institution, lastName

Ist das möglich?

LG Laurie


More information about the TYPO3-german mailing list