Issue Bug Closed

#28564Language overlay for RECORDS

Daniela Maul 07/29/11, 10:40 updated 10/23/17, 22:16

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);
    }
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.