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@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an