[TYPO3-english] Typoscript insertData language issue

Peter Ruijter peter.ruijter at gmail.com
Wed Apr 18 22:13:42 CEST 2012


Hi List,

I'm facing the following typoscript problem. I have currently a piece of
typoscript code that should display a name and email address of an
authorof a page. But
the preamble should be depended on the selected page language. At the
moment the correct output is only shown with the default page language, but
when I switch to a translated page, only the preamble is displayed without
name and e-mail address.

My configuration:
page.40 = TEXT
page.40 {
  value = Author: {page:author}
  lang.nl  = Auteur: {page:author}
  insertData =1
  typolink.parameter.field = author_email
}

Is this because there is no getText function possible with the lang
property? Do I have to break the language depended code apart from the data
requesting part to get the stuff work or is there one thing I'm overlooking?
-- 

Kind regards,

Peter Ruijter
*Peter Industries*
www.peterindustries.com


More information about the TYPO3-english mailing list