[TYPO3] TS condition : check whether plugin X is on page
Xavier Perseguers
typo3 at perseguers.ch
Tue Sep 2 11:47:01 CEST 2008
Hi!
>> I would like to change page generation processing based on whether
>> plugin X is present on page or not. Is this possible?
It seems that I should write a userFunc if I want this...
>> If not, is there a shorter way than below to check whether current
>> page UID is present in a list of values?
>>
>> [globalVar= TSFE:id=10,TSFE:ID=14,TSFE:ID=id=34]
>>
>> having 10, 14 and 34 stored in a TS constant of course...
>
> Well, you know that TSRef tell you the syntax for conditions :) So, what
> does it tell you about using comma or constants?
Yes :-) but I only get to that point:
[globalVar = TSFE:id = {$page.special}]
with a single value in page.special
And I cannot see a way to give multiple values :-/
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-english
mailing list