Hallo Sven,
soweit ich mich erinnere, wars auch bei mi das Problem, dass ich auf
der falschen ebene die condition hatte.
Allerdings hat sich die Seite um so viele Sachen weiter entwickelt,
dass diese spezielle Funktion nun gar nicht mehr drin ist und ich das
im nachhinein nicht mehr nachvollziehen kann. Sorry!

ulrich

Am 23. Februar 2012 14:55 schrieb Bernd Wilke <t...@pi-phi.tk>:
> On 02/23/2012 02:12 PM, Sven Brockshus wrote:
>>
>> sorry, wenn ich so spät nochmal nachfrage... aber hattest du das hin
>> bekommen?
>> bei meinem test siehts so aus:
>>
>> ***schnipp***
>>
>> temp.kontrast = TEXT
>> temp.kontrast {
>> [globalString = _COOKIE|type = 112]
>> value = Kontrasttest 98
>> typolink.parameter.data = TSFE:id
>> typolink.ATagParams = onClick="document.cookie = 'type=98';"
>>
>> [globalString= HTTP_COOKIE_VARS | type=98]
>> value = Kontrasttest 112
>> typolink.parameter.data = TSFE:id
>> typolink.ATagParams = onClick="document.cookie = 'type=112';"
>>
>> [ELSE]
>> value = elseTest - 112
>> typolink.parameter.data = TSFE:id
>> typolink.ATagParams = onClick="document.cookie = 'type=112';"
>> [END]
>>
>> ***schnapp***
>
>
> so kann es nicht funktionieren!
> conditions arbeiten nur auf höchster ebene.
> Wenn überhaupt dann so:
> temp.kontrast = TEXT
>
> [globalString = _COOKIE|type = 112]
> temp.kontrast {
>
>    value = Kontrasttest 98
>    typolink.parameter.data = TSFE:id
>    typolink.ATagParams = onClick="document.cookie = 'type=98';"
> }
> [globalString=  HTTP_COOKIE_VARS | type=98]
> temp.kontrast {
>
>    value = Kontrasttest 112
>    typolink.parameter.data = TSFE:id
>    typolink.ATagParams = onClick="document.cookie = 'type=112';"
> }
> [ELSE]
> temp.kontrast {
>
>    value = elseTest - 112
>    typolink.parameter.data = TSFE:id
>    typolink.ATagParams = onClick="document.cookie = 'type=112';"
> }
> [END]
> ansonsten werden die Werte (unabhängig von den Conditions!) ganz woanders
> gesetzt als du es erwartest.
>
>
>
>> ich habe unter Typo3 4.5.3 bisher mit globalVar und globalString
>> experimentiert. und auch schon die "kurzform" _COOKIE ausprobiert.
>> nach meinen inet-recherchen sollte alles klappen, tuts aber nicht.
>> es wird immer nur die [else] condition angezeigt! das setzen des cookies
>> klappt und ich kann auch darauf zugreifen.
>>
>> da hab ich in der liste gekramt und dein altes posting gefunden :-)
>>
>> evtl. hat auch auch jemand anders eine idee?!?
>
>
> --
> http://www.pi-phi.de/cheatsheet.html
>
> _______________________________________________
> 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

Antwort per Email an