[TYPO3] Modifying one body tag

JoH asenau info at cybercraft.de
Thu Mar 1 16:55:05 CET 2007


Sebastian Baciu [GMAIL2] wrote:
> Hello,
>
> So, i managed to examine TsREF and this is what i have come up with by
> myself:
>
> [globalVar = TSFE:id = 146, GP:language = de]
>
> page.headerData.20 = TEXT
> page.headerData.20.value(
> <script>This is german!!</script>
> )
> [END]
>
> And the text shows, but on both the english and the german versions.
> I tried a number of things including using globalstring, but none of
> them work either...
>
> Can someone point me in the right direction?

You should AND the conditions

[globalVar = TSFE:id = 146] && [globalVar =  GP:language = de]
 page.headerData.20 = TEXT
page.headerData.20.value(
<script>This is german!!</script>
)
[global]

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list