[TYPO3-core] Bug: TS-Condition with GET Var not possible if there are POST Vars

Steffen Kamper info at sk-typo3.de
Wed Nov 19 14:39:37 CET 2008


Hi,

Sascha Egerer schrieb:
> Problem:
> There is a problem with globalVar GP Condition in TypoScript. If there are 
> POST Vars the GET Vars can not be checked because t3lib_div::_GP is used. 
> t3lib_div::_GP does only use POST Vars if there are any.
> So something like
> [globalVar = GP:tx_commerce_pi1|showUid > 0]
> will fail if there are are POST Vars for tx_commerce_pi1
> 

you can ask for GET only:

[globalVar = _GET|tx_commerce_pi1|showUid > 0]

vg Steffen


More information about the TYPO3-team-core mailing list