[TYPO3-english] Typoscript insertData language issue
Victor Livakovsky
v-tyok at mail.ru
Thu Apr 19 12:14:43 CEST 2012
Hi, Peter.
> 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?
Seems, that you're right - insertData doesn't work with language
overridings.
You may try such a solution:
page.40 = TEXT
page.40 {
value.field = author
dataWrap = {LLL:fileadmin/locallang.xml:page.author}: |
typolink.parameter.field = author_email
}
So, you'll hold your language related data not in TS, but in external llxml
file.
More information about the TYPO3-english
mailing list