diff --git a/Classes/Browser/RecordBrowser.php b/Classes/Browser/RecordBrowser.php index 39f567c..30919f0 100644 --- a/Classes/Browser/RecordBrowser.php +++ b/Classes/Browser/RecordBrowser.php @@ -62,6 +62,8 @@ public function displayRecordsForPage($selectedPage, $tables, $urlParameters) $this->urlParameters = $urlParameters; $this->urlParameters['mode'] = 'db'; $this->expandPage = $selectedPage; + // unset languageField to hide record translations in link browser + unset($GLOBALS['TCA'][$tables]['ctrl']['languageField']); return $this->renderTableRecords($tables); } diff --git a/Classes/Hooks/RecordListGetTableHook.php b/Classes/Hooks/RecordListGetTableHook.php new file mode 100644 index 0000000..4bbc10e --- /dev/null +++ b/Classes/Hooks/RecordListGetTableHook.php @@ -0,0 +1,38 @@ +