Hallo zusammen
Ich habe folgendes Problem. Ich möchte gerne auf eine Tabelle einer anderen Extension zugreifen und das mache ich wie folgt:
// TCA.php
'promotion1' => array (
'exclude' => 0,
'label' => 'LLL:EXT:fl_pwc_cases/locallang_db.xml:tx_flpwccases_cases.promotion1',
'config' => array (
'type' => 'select',
'items' => array (
array('',0),
),
'foreign_table' => 'tx_flpromotions_promotions',
'foreign_table_where' => 'AND tx_flpromotions_promotions.pid=###CURRENT_PID### ORDER BY tx_flpromotions_promotions.uid',
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
)
),
tx_flpromotions_promotions ist eine Extension, welche ich geschrieben habe.
Das Feld wird mir im Backend angezeigt, aber leider ohne Daten.
In showRecordFieldList habe ich das Feld auch eingetragen.
Was habe ich vergessen?
Vielen Dank und Gruss
Reeko