[Typo3] conditionnal output and TemplaVoila
Bernhard Kraft
kraftb at kraftb.at
Sun Dec 18 15:03:40 CET 2005
Bernhard Kraft wrote:
Hmm ... Then this will most probably work:
5 = COA
5 {
# The only sub-cObj
10 = RECORDS
10.source.current=1
10.tables = tt_content
# Define wrapping and condition
wrap = <div id="optionnal_content"> | </div>
if.value.current = 1
if.equals =
# if.negate = 1
}
To say it: I never use isTrue isFalse but always .equals ... you can compare
.value
and
.equals
directly and negate the result with .negate if required.
greets,
Bernhard
More information about the TYPO3-english
mailing list