#33584checkIF for each TypoScript content objects (cObjects)
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:
- doesn’t work
10 = CONTENT
10 {
#ignored
if.isTrue.data = GP:tx_ttnews|tt_news
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
- works but code gets bloated
10 = COA
10 {
10 = CONTENT
10 {
if.isTrue.data = GP:tx_ttnews|tt_news
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
}
}
}