Hallo!
Also ich wüsste gern wie man bei einer Datenbankrelation ein anderes Feld auswählen kann. Momentan Geht es über das feld uid.. Es soll aber über mein Feld hostid verwendet werden. Momentan sieht das TCA so aus:
"hostid" => Array (
"exclude" => 1,
"label" => "LLL:EXT:sm_accommodations_database/locallang_db.xml:tx_smaccommodationsdatabase_hostdata.hostid",
"config" => Array (
"type" => "select",
"items" => Array (
Array("",0),
),
"foreign_table" => "tx_smaccommodationsdatabase_basic_options",
"foreign_table_where" => "ORDER BY tx_smaccommodationsdatabase_basic_options.uid",
"size" => 1,
"minitems" => 0,
"maxitems" => 1,
)
),
Hat jemand eine Idee?!