[TYPO3] IF statements - lost again
Tapio Markula
tapio.markula at atwebteam.com
Thu Aug 31 15:25:37 CEST 2006
Hi
For individual extra info I can set
4=TEXT
4{
if{
value = 0
equals.field = newUntil
negate=1
}
value= , <span style="padding-left:2px;padding-right:2px">tiedot
tarkistettava</span>
}
But I tried to define it for entire menu objects
tt_content.menu.20.5 {
#wrap = <div class="csc-menu
csc-menu-5">|</div>
#special = updated
special {
mode = manual
limit = 1000
maxAge = 3600*24*183
}
1=TMENU
1.if{
value = 0
equals.field = newUntil
negate=1
}
1.NO.allWrap.cObject = COA
1.NO.allWrap.cObject {
10=TEXT
10.value=<div><span style="padding-right:2px">
20=TEXT
20{
field=tstamp
date=d.m.Y
}
30=TEXT
30.value=</span>
}
1.NO.linkWrap=|</div>
}
the if-condition doesn't have any effect.
I'm totally confused with if-statements concerning for where
and which objects they can be used.
More information about the TYPO3-english
mailing list