Project

General

Profile

Actions

Bug #28564

closed

Language overlay for RECORDS

Added by Daniela Maul almost 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
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);
    }
}


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #42279: RECORDS content object does not fetch translations for pagesClosed2012-10-22

Actions
Actions

Also available in: Atom PDF