[TYPO3-german] Condition in TS richtig setzen

Marc Willmann typo3 at marc-willmann.de
Wed Mar 4 16:53:44 CET 2015


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


-- 
Marc Willmann. TYPO3-Freelancer.
http://www.marc-willmann.de

Seelandstr. 14-16
D-23569 Lübeck

TYPO3 Certified Integrator


More information about the TYPO3-german mailing list