I have a TypoScript layout and need an if statement with a second inside
stdWrap.dataWrap = <div class="grid col1 lay{field:layout}">|</div>
now set the override with if header_layout is not set to 100:
stdWrap.dataWrap.override = <div class="header"><h4>{field:header}</h4><h5>{field:subheader}</h5></div><span class="hitter"></span><div class="grid col1 lay{field:layout}">|</div>
stdWrap.dataWrap.override.if{
value = 100
equals.field = header_layout
negate = 1
that worked, but if no header is set, the user don't set header_layout to hidden so i want to check if the field header is not empty, but this doesn't work:
stdWrap.dataWrap.override.if{
value = 100
equals.field = header_layout
negate = 1
isTrue.cObject = TEXT
isTrue.cObject{
value = 1
if.value =
equals.field = header
negate = 1
If the header is set and header_layout is 100, the simple output is rendered but if the header is empty and header_layout is not 100 the override will be rendered and add empty html tags.
I think the second condition will seen as "or" and not as "and", how should this TypoScript look like?