[TYPO3-german] Eigene Variable über TS abfragen

ulrich good945 at gmail.com
Mon Aug 15 14:01:18 CEST 2011


Hallo Liste,

ich hab hier folgendes Problem: Ich möchte anhand einer Variable
entscheiden, welcher Inhalt von Typo3 angezeigt wird. Nun ist aber
meine Variable ein Wert aus einem Cookie, den ich über TS abfragen
möchte. (Der Wert ist 0 oder 1 im Cookie).

hier meine TS:
(Constants)
myVar.data = global:HTTP_COOKIE_VARS|myCookie|foo|bar

(Setup)
[globalVar= myVar=1]
subparts.test.value = Ja
[else]
subparts.test.value = Nein
[global]

Typo3 sagt mir nun IMMER "Nein".

Was mach ich denn falsch?

Grüße
 - Ulrich


More information about the TYPO3-german mailing list