[TYPO3-core] RFC: Feature #7531: TCA displayCond - allow ANDed and/or ORed rulesets
Ralf Hettinger
ng at ralfhettinger.de
Sat Aug 8 16:38:11 CEST 2009
Am 08.08.2009 13:51 schrieb Steffen Ritter:
> Ralf Hettinger schrieb:
>> This is an SVN patch request.
>>
>> Type: New feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=7531
>>
>> Branches: trunk
>>
>> Problem:
>> The TCA key displayCond currently allows only one condition rule. The
>> visibility of a TCEform-field therefore can't depend on more than one
>> condition.
>>
>> Solution:
>> Introduce displayCond rulesets, which are arrays having keys AND and/or
>> OR and are pointing to arrays with elements being single displayCond
>> rules or again displayCond rulesets.
>>
>> Cheers,
>> Ralf Hettinger
>>
> definitely +1 by reading...
> Nice thing i often missed.
>
> Would like to have a unit test for this, since your function is to large
> to get all possibilities by reading it...
>
> regards
>
You're right, that sounds like a good idea. Though it would probably
mean to write unit tests for displayCond as it currently exists, too...
uhm, that's quite a task... anybody working on that already?
More information about the TYPO3-team-core
mailing list