[Typo3] combined graphical header in tv
Bartosz Aninowski
bart at sonik.pl
Fri Nov 11 22:20:38 CET 2005
Hi
this is my TS to generate combined graphical header in TV
I need condition to render only first line if field_title1 is empty. In
other words
if filed_title != empty
XY = 200,[10.h]+[20.h]
else
XY= 200,[10.h]
<TypoScript>
10 = IMAGE
10.file = GIFBUILDER
10.file {
XY = 200,????
backColor = {$backColor}
10 = TEXT
10.text.current = 1
10.text.case = upper
10.fontColor = {$textColor}
10.fontFile = {$TSconst.font_bold}
10.niceText = 1
10.offset = 0,[10.h]
10.fontSize = 20
20 = TEXT
20.text.field = field_title1
20.text.case = upper
20.fontColor = {$text2Color}
20.fontFile = {$TSconst.font_light}
20.niceText = 1
20.offset = 0,[10.h]+[20.h]
20.fontSize = 12
}
</TypoScript>
bart
More information about the TYPO3-english
mailing list