Bug #17450

No language overlay with TS select on table pages

Added by Georg Ringer over 12 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2007-07-07
Due date:
% Done:

0%

TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It is not possible to make a TS select at the table pages on a multilanguage page!

Titles are not translated and none-translated pages are shown too

If I try to use the languageField = sys_language_uid I get an error "unknown field 'sys_language_uid' in where clause." and I also can't make the select on the pages_language_overlay.

TS to reproduce:

temp.test = CONTENT
temp.test.TPL_CONTENT {
table = pages
select {
pidInList = 68
orderBy = sorting DESC
#languageField = sys_language_uid
}

renderObj = COA_INT
renderObj {
10 = TEXT
10.field = title
}
}
(issue imported from #M5918)

5918.patch View (981 Bytes) Administrator Admin, 2010-11-19 00:24


Related issues

Related to TYPO3 Core - Bug #23222: CONTENT TS object fails to show translations of pages DB table Closed 2010-07-18
Related to TYPO3 Core - Bug #19275: TypoScript objects CONTENT and RECORDS do not respect localization of table pages Closed 2008-09-02

History

#1 Updated by Georg Ringer over 12 years ago

ok a workaround could be

[ globalVar = GP:L = 1 ]
temp.test.select {
join= pages_language_overlay ON
andWhere {
data = TSFE:sys_language_content
wrap = pages_language_overlay.sys_language_uid=|
}
}
[global]

is this the way to do it?

#2 Updated by Tolleiv Nietsch about 9 years ago

Committed to trunk (rev. 9687) - Thanks for your patience ;)

#3 Updated by Susanne Moog almost 9 years ago

  • Target version deleted (4.5.0)

Also available in: Atom PDF