[TYPO3-core] RFC #15166: Bug: CONTENT TypoScript object ignoring translations of pages table
Maxim Mishyn
maxim.mn at gmail.com
Wed Aug 4 00:18:35 CEST 2010
I'm interesting in my SVN patch request status.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=15166
Branches:
TYPO3_4-3, TYPO3_4-4, trunk
Problem:
When using CONTENT TS object ignores languages overlay when you try to show
pages table records with it.
This sample TS code will give idea about the problem (pages in this sample
have translation overlays):
10 = CONTENT
10 {
table = pages
select {
pidInList = {$safariList}
orderBy = sorting
andWhere {
current = 1
wrap = uid=|
}
}
renderObj = TEXT
renderObj.fied = abstract
...
}
Solution:
Reason of this problem: TYPO3 uses getRecordOverlay for all tables.
Solution: Usage of getPageOverlay for pages table records and
getRecordOverlay for the rest.
Kind Regards,
Maxim Mishyn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15166.diff
Type: application/octet-stream
Size: 1104 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100804/a6c1037a/attachment.obj>
More information about the TYPO3-team-core
mailing list