Ещё в код расширения надо добавить нечто такое:
PHP код:
[...]
$rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid,pid,title',$table,$where);
$rows = $this->overlayRows($table,$rows);
[...]
function overlayRows($table,$rows){
foreach ($rows as $key => $row){
$rows[$key] = $this->getRecordOverlay($table,$row);
}
return $rows;
}
function getRecordOverlay($table,$row){
if ($GLOBALS['TSFE']->sys_language_content) {
$OLmode = ($this->sys_language_mode == 'strict')?'hideNonTranslated':'';
$row = $GLOBALS['TSFE']->sys_page->getRecordOverlay($table, $row, $GLOBALS['TSFE']->sys_language_content, $OLmode);
}
return $row;
}