[TYPO3] the simplest way to get multilingual values of header/subheder/bodytext
Irene Höppner
ih at abezet.de
Fri May 19 01:20:40 CEST 2006
> This one works (tested)
>
> header1 = TEXT
> header1.dataWrap = <h1>{DB:tt_content:315:header}</h1>
>
if you use this one:
[..]
header1 = CONTENT
header1 {
pidInList = 315
[..]
then 315 is the uid of the page where your content elements are in, which
is the pid of your content elements
using this one:
> header1.dataWrap = <h1>{DB:tt_content:315:header}</h1>
then 315 is the uid of the content element you want to display. So, if you
are using the uid already, you dont need to ask for the language anymore
as each element has one language only.
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...
greets,
Irene
--
Irene Höppner
A.BE.ZET GmbH i.G.
http://www.abezet.de/
More information about the TYPO3-english
mailing list