Oh, ich glaube ich habe das doch nicht ganz richtig beschrieben. Die Sprache versuche ich bei der SQL Abfrage in ext_tables.php herauszubekommen.
$tempColumns = Array (
"tx_newstags_tags" => Array (
"exclude" => 1,
"label" => "LLL:EXT:news_tags/locallang_db.xml:tt_news.tx_newstags_tags",
"config" => Array (
"type" => "select",
"foreign_table" => "tx_newstags_tags",
"foreign_table_where" => " AND tx_newstags_tags.sys_language_uid = ".$current_sys_uid,
# "foreign_table_where" => " ORDER BY tx_newstags_tags.sys_language_uid, tx_newstags_tags.tagtitle",
"size" => 5,
"minitems" => 0,
"maxitems" => 50,
"wizards" => Array(
"_PADDING" => 2,
"_VERTICAL" => 1,
"add" => Array(
"type" => "script",
"title" => "Create new record",
"icon" => "add.gif",
"params" => Array(
"table"=>"tx_newstags_tags",
"pid" => "###CURRENT_PID###",
"setValue" => "prepend"
),
"script" => "wizard_add.php",
),
"list" => Array(
"type" => "script",
"title" => "List",
"icon" => "list.gif",
"params" => Array(
"table"=>"tx_newstags_tags",
"pid" => "###CURRENT_PID###",
),
"script" => "wizard_list.php",
),
"edit" => Array(
"type" => "popup",
"title" => "Edit",
"script" => "wizard_edit.php",
"popup_onlyOpenIfSelected" => 1,
"icon" => "edit2.gif",
"JSopenParams" => "height=350,width=580,status=0,menubar=0,scrollbars=1",
),
),
)
),
);
Wie baue ich die Abfrage nach der aktuellen Sprache des Datensatzes in dieses Array mit ein?