[TYPO3-english] custom TS conditions

Tomasz Krawczyk tomkrawc at gmail.com
Mon Nov 28 17:52:18 CET 2011


W dniu 2011-11-25 14:28, Xavier Perseguers pisze:
> Hi,
>
>> I have simple question, I hope ;-)
>>
>>  From TS syntax in-depth study I know that I can parse my TS and add
>> custom conditions like [TYPO3 IS GREAT]. The problem is that I don't
>> know how to tell TYPO3 about my class. Such conditions looks more
>> interesting to me than userFunc.
>>
>> Can you help me?
>
> Never tried, but you may have a look at t3lib_matchCondition_abstract,
> whose concrete classes are t3lib_matchCondition_backend and
> t3lib_matchCondition_frontend and extend them to support your own custom
> condition.
>
> HTH
>
Thanks. I wrote an xclass for t3lib_matchCondition_frontend and 
conditions in my extension work.

cheers
Tomasz


More information about the TYPO3-english mailing list