问题
I have the following typoscript, I only want it execute when Language is 1 and page ID is 1432
[globalVar = GP:L =1][globalVar = TSFE:id = 1432]
lib.atoz = TEXT
lib.atoz.value (some test )
[global]
However it seems to execute when the first condition is matched not both, it appears to be something to do with globalVar ?
Solved
[globalVar = GP:L =1] AND [globalVar = TSFE:id = 1432]
lib.atoz = TEXT
lib.atoz.value (some test )
[global]
来源:https://stackoverflow.com/questions/57426653/typo3-typoscript-and-and-conditions-with-globalvar