[TYPO3] the simplest way to get multilingual values of header/subheder/bodytext

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Fri May 19 09:34:17 CEST 2006


Irene Höppner wrote:

> it's funny that you get the same results because that means that your 
> page has the same uid as the content element in that page...
> 

nope :) the explanation is much easier

I've used:

header1 = CONTENT
      header1 {
      pidInList = xx
      table = tt_content
	select {
         languageField= sys_language_uid
             }
...
}


instead of


header1 = CONTENT
      header1 {
         table = tt_content	
	select {
         pidInList = xx // you right here - it is uid of the page
         languageField= sys_language_uid
            }
...
}

pidInList is property of select not CONTENT.
pidInList in CONTENT means nothing.

If there is no pidInList in select it seems that it is taken as 
pidInList=this.

That is why I was getting good result with bad TS.


--
Krystian



> 
> 
> --Irene Höppner
> A.BE.ZET GmbH i.G.
> http://www.abezet.de/



More information about the TYPO3-english mailing list