Task #57479
Document TCA DisplayCond
Status: | Closed | Start date: | 2014-04-01 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Francois Suter | % Done: | 100% |
|
Category: | - | |||
Target version: | 6.2.0 |
Description
Since 6.1 you can use OR and AND conditions in the DisplayCond property of TCA
see http://forge.typo3.org/issues/18211
Great german description with examples is here:
http://jweiland.net/typo3/extension-programmierung/displaycond.html
Related issues
History
#1 Updated by Francois Suter about 1 year ago
- Project changed from Documentation to TCA Reference
#2 Updated by Francois Suter about 1 year ago
- Status changed from New to Needs Feedback
- Assigned To set to Francois Suter
This is actually documented here:
Do you feel that more information is needed?
#3 Updated by Tymoteusz Motylewski about 1 year ago
Hi,
thanks for pointing me to the link, I haven't seen it :)
It would be nice if documentation also mentions more complex scenarios like combination of AND and OR conditions.
eg. sth like:
'displayCond' => array( 'AND' => array( 'EXT:test123:LOADED:TRUE', 'OR' => array( 'FIELD:amount:<:10', 'FIELD:excludes:>:5', ), ), ),
#4 Updated by Francois Suter about 1 year ago
- Status changed from Needs Feedback to Accepted
- Target version set to 6.2.0
#5 Updated by Francois Suter about 1 year ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
#6 Updated by Francois Suter about 1 year ago
- Status changed from Resolved to Closed