[TYPO3-core] RFC: Feature #7531: TCA displayCond - allow ANDed and/or ORed rulesets

Steffen Ritter info at rs-websystems.de
Sat Aug 8 13:51:33 CEST 2009


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



More information about the TYPO3-team-core mailing list