[TYPO3-english] conditionnal if / else wrap
Roland Bernier
rolandersky at yahoo.com
Tue Jan 12 17:55:55 CET 2010
thanks Joe it works !
The solution to make an if / else condition on a "more" link in tt_news:
subheader_stdWrap {
append = COA
append {
10 = TEXT
10 {
data = register:newsMoreLink
wrap = <div class="details">|</div>
if {
isTrue.field = bodytext
isTrue.substring = 100
}
}
20 = TEXT
20 {
data =
wrap = <div class="details">|</div>
if {
isTrue.field = bodytext
isTrue.substring = 100
negate = 1
}
}
}
}
Découvrez les photos les plus intéressantes du jour.
http://www.flickr.com/explore/interesting/7days/
More information about the TYPO3-english
mailing list