[TYPO3] Problems concerning if-statement
Tapio Markula
tapio.markula at dnainternet.net
Wed May 24 09:33:43 CEST 2006
Hi
It seems that I never understand explanations in
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/7/
Because I don't properly understand the page (IMO not good examples), I
need some help.
I can't understand on the base of the documentation, how
conditions change the result.
My TS, which purpose is to render date only if the
value lastUpdated is not zero
20=TEXT
20{
field=lastUpdated
if{
value.data = 0
equals.field = lastUpdated
negate=1
}
date=d.m.Y
}
Problems
1) If i put the date inside the if-statement I get raw data. If I put
after the if-statement is ignored
2) in menus I must make the cObject for all levels - copy seems not to
work - it this generic problem with if-statements?
More information about the TYPO3-english
mailing list