Actions
Bug #28564
closedLanguage overlay for RECORDS
Start date:
2011-07-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Description
There is no language overlay in RECORDS for pages.
It always shows the default language if I for example select the page title and switch language.
In CONTENT (class tslib_content_Content) this is solved by:
// Language overlay: if (is_array($row) && $GLOBALS['TSFE']->sys_language_contentOL) { if ($conf['table'] == 'pages') { $row = $GLOBALS['TSFE']->sys_page->getPageOverlay($row); } else { $row = $GLOBALS['TSFE']->sys_page->getRecordOverlay($conf['table'], $row, $GLOBALS['TSFE']->sys_language_content, $GLOBALS['TSFE']->sys_language_contentOL); } }
Actions