[TYPO3-english] custom TS conditions
xavier at typo3.org
Fri Nov 25 14:28:38 CET 2011
> 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
Release Manager TYPO3 4.6
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-english