Project

General

Profile

Actions

Feature #33584

closed

checkIF for each TypoScript content objects (cObjects)

Added by Michael Birchler almost 13 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-02-01
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently the checkIf method is only for certain cObjects (HMENU, CASE, IMAGE, stdWrap)
valid, all other cObjects are ignored.

This behaviour makes no sense to me and the TypoScript code gets unnecessarily bloated.

Example:
  1. doesn't work
    10 = CONTENT
    10 {
    #ignored
    if.isTrue.data = GP:tx_ttnews|tt_news

table = tt_news
select {
}
renderObj = COA
renderObj {
10 = TEXT
10.field = title
}
}

works but code gets bloated
  1. works but code gets bloated
    10 = COA
    10 {
    10 = CONTENT
    10 {
    if.isTrue.data = GP:tx_ttnews|tt_news

table = tt_news
select {
}
renderObj = COA
renderObj {
10 = TEXT
10.field = title
}
}
}

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #63342: stdWrap.if rendered also when negativeClosed2014-11-26

Actions
Actions

Also available in: Atom PDF