Wenn ich ohne Variable arbeite und versuche den Wert über globalVar abzufragen, erhalte ich als Resultat auch immer ein Nein. Obwohl ich ein Cookie mit Wert 1 habe.
TS Setup: [globalVar = HTTP_COOKIE_VARS | myCookie|foo|bar=1] subparts.test = TEXT subparts.test.value = Ja [else] subparts.test = TEXT subparts.test.value = Nein [global] Hat vielleicht jemand in dieser Honsicht einen Tipp? Viele Grüße - Ulrich Am 15. August 2011 14:01 schrieb ulrich <good...@gmail.com>: > 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 > _______________________________________________ > TYPO3-german mailing list > TYPO3-german@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german