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

Irene Höppner ih at abezet.de
Wed May 17 09:35:39 CEST 2006


Hi Krystian,


> which allow to have something like that:
>
> temp.10 = TEXT
> temp.10.data = DB:tt_content:234:header
>
> so far so good
>
> but what with multilanguage values?
>
> I know I can have:
>
> [globalVar = GP:L = 1]
> temp.10 = TEXT
> temp.10.data = DB:tt_content:235:header
> [end]
>

use RECORDS instead of TEXT, something like

temp.10 = RECORDS
temp.10 {
	source = 235
	tables = tt_content
	select {
		languageField = sys_language_uid
	}
	conf.tt_content = TEXT
	conf.tt_content.field = header
}

See TSref für exact wording, didn't check that.

Greets,
Irene

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



More information about the TYPO3-english mailing list