[TYPO3-core] RFC #13647: Bug: mulitlanguage CONTENT.select on table pages
Stephan Lucas
sl at not-only-pixel.de
Wed Feb 24 16:07:51 CET 2010
Hi all,
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=13647
Branches:
trunk
Problem:
If you make a select on the pages table within a CONTENT element it
always reports the original pages content not the pages language
overlay. If you use page tt_content instead it could make an lang overlay.
Solution:
The solution is a hack on tslib_cObj->CONTENT() which test for table
pages and then use the getPageOverlay instead of getRecorrdOverlay
Notes:
Example:
30 = CONTENT
30 {
table = pages
select {
uidInList = 1,2,3,4,5
pidInList = 0
orderBy = sorting
#languageField=sys_language_uid
}
Greetings
Stephan Lucas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-13647.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100224/c2b0b0c8/attachment.asc>
More information about the TYPO3-team-core
mailing list