There is a Database-table "tt_content" check in my TypoScript code.
Depending on whether the CONTENT is empty or not, I want to set a variable VAR to "empty" or "full".
Is it possible?
MIDCONTENT= CONTENT
MIDCONTENT{
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
I allready have found a way to set the MIDCONTENT itselfe to empty, by doing
MIDCONTENT= CONTENT
MIDCONTENT{
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
stdWrap.ifEmpty.cObject = TEXT
stdWrap.ifEmpty.cObject.value = empty
}
But what i need, is setting another variable, and i need to check the full state either.