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

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Wed May 17 10:36:44 CEST 2006


Irene Höppner wrote:

>>
>> but would not that be much easier to have just
>>
>> header1 = TEXT
>> header1.dataWrap = <h1>{DB:tt_content:315:header:sys_language_uid}</h1>
> 
> Nope. There is a big difference between pid (pidInList) and uid (in the 
> dataWrap you try to use).

I do not get exactly what do you mean.

This one works (tested)

header1 = TEXT
header1.dataWrap = <h1>{DB:tt_content:315:header}</h1>

and my suggestion is to change the DB function to get 4th parameter with 
language uids, so we can have simple:

header1 = TEXT
header1.dataWrap = <h1>{DB:tt_content:315:header:sys_language_uid}</h1>

instead of CONTENT with select.

--
grtz
Krystian



More information about the TYPO3-english mailing list