[TYPO3-german] Condition in TS richtig setzen

Christian Leicht usenet at schani.com
Wed Mar 4 17:07:38 CET 2015


Ja, das hatte ich auch gemacht, aber es funktioniert nicht richtig.
Ich kann in der TYPO3 Dokumentation diese Variante auch nicht finden.
In manchen Useranleitungen und Blogs schon.
Bin mir da ganz unsicher

Christian

Am 04.03.2015 um 16:53 schrieb Marc Willmann:
> sollte alles gehen und logisch dasselbe sein, sofern xxx.de, www.xxx.de,
> xxx.com und www.xxx.com ALLE Domains sind, die auf diese Seite verweisen.
>
> ich präferiere
>> [...] || [...]
>> [ELSE]
>> [GLOBAL]
>
> weil ich es für am einfachsten Lesbar halte, aber darüber kann man
> Glaubenskriege führen. :)
>
> Marc
>
> Am 04.03.15 16:46, schrieb Christian Leicht:
>> Hallo,
>>
>> ich muss für ein formhandler Formular eine Weiche für 2 Domains/Sprachen
>> einbauen und habe mit Google widersprüchliche Condition Verwendungen
>> gefunden.
>>
>>
>> Zur Zeit benutze ich folgendes:
>>
>> [globalString = IENV:HTTP_HOST = www.xxx.de]||[globalString =
>> IENV:HTTP_HOST = xxx.de]
>>
>>      plugin.Tx_Formhandler.settings { ...
>>
>> [ELSE]
>>
>>      plugin.Tx_Formhandler.settings { ...
>>
>> [GLOBAL]
>>
>>
>> Im Web habe ich aber auch folgende Möglichkeit gefunden:
>>
>> [globalString = IENV:HTTP_HOST = www.xxx.de, IENV:HTTP_HOST = xxx.de]
>>      plugin.Tx_Formhandler.settings { ...
>> [ELSE]
>>      plugin.Tx_Formhandler.settings { ...
>> [GLOBAL]
>>
>>
>>
>> Oder soll ich die 2. Sprachversion auch noch angeben, also:
>>
>> [globalString = IENV:HTTP_HOST = www.xxx.de]||[globalString =
>> IENV:HTTP_HOST = xxx.de]
>>      plugin.Tx_Formhandler.settings { ...
>> [globalString = IENV:HTTP_HOST = www.xxx.com]||[globalString =
>> IENV:HTTP_HOST = xxx.com]
>>      plugin.Tx_Formhandler.settings { ...
>> [GLOBAL]
>>
>> Was ist denn die richtige Variante?
>>
>> Besten Dank für Hilfe
>>
>> Christian
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>
>


More information about the TYPO3-german mailing list