[TYPO3-english] Condition to know if a variable is defined in the URL
Marco Peemöller
listen at goto-marco.de
Mon Mar 7 13:05:35 CET 2011
Hello,
Am 07.03.2011 12:55, schrieb Enrique Moreno Tent:
> Can someone please tell me what condition should I use if i want to know if
> a variable has been defined in the URL? I thiught it was something like
> this:
>
> [globalVar = GP:myVar = 0]
>
Try this:
[globalVar = GP:myVar > 0 ]
#GP:myVar defined
[ELSE]
#GP:myVar not defined
[global]
maybe this work to, but i am not sure
[globalVar = GP:myVar = ]
#GP:myVar defined
[global]
Regards
Marco
More information about the TYPO3-english
mailing list