[TYPO3-english] Select, languageField always 0
Gregory Loichot
gloichot at cross-systems.com
Thu Mar 31 09:38:34 CEST 2011
Hello,
In a TYPO3 4.5.2, I have a piece of TypoScrit like this :
sys_folder_tt_content {
select {
table = tt_content
pidInList = 301
selectFields = header,bodytext, sys_language_uid
languageField = sys_language_uid
orderBy = sorting
max = 2
}
renderObj=COA
renderObj{
wrap = <div class="footer-column">|</div>
5 = TEXT
5 {
field = header
wrap = <strong class="title">|</strong>
}
10 = TEXT
10 {
field = bodytext
wrap = <div class="info">|</div>
parseFunc = < lib.parseFunc_RTE
}
}
In page 301, I have 2 contents, all translated in 2 languages. But that
code always returns content with sys_language_uid = 0, even when L
parameter = 1 or 2 !!!!
Do you have any idea about that ?
Thanks.
Greg
More information about the TYPO3-english
mailing list