[TYPO3-german] BOX rendern wenn subtitle nicht leer ist
thorsten greiner
ng-reply at brainoutput.net
Tue Mar 14 12:08:39 CET 2006
moin!
folgende frage:
wenn ich eine grafik mit dem gifbuilder erstelle, wird dem text den ich
render ein strich vorrangestellt.
dieser strich allerdings ist auch da, wenn der subtitle leer ist... und das
will ich ändern.
hier mein script:
Hier mein Code:
temp.imgtextsubtitle = IMAGE
temp.imgtextsubtitle.file = GIFBUILDER
temp.imgtextsubtitle.file {
XY = 158, [20.h]+[30.h]+25
backColor = #88C1DC
10 = BOX
10.dimensions = 138-[20.w],8,5,1
10.color = {$sideImgFontColor}
20 = TEXT
20 {
text.data = page:subtitle
text.listNum = 0
text.listNum.splitChar = |
fontFile = {$imgFontFile}
fontColor = {$sideImgFontColor}
fontSize = 12
niceText = 1
align = right
offset = -10, 12
}
30 < .20
30 {
text.listNum = 1
offset = -10,24
}
}
also die BOX soll nur gerendert werden, wenn die subheadline nicht leer ist.
hab schon mit fieldrequired rumgespielt aber irgendwie will das nicht.
meine zeile sah so aus:
10.stdWrap.fieldrequired = subtitle
hat jemand eine idee?
danke!
cheers, thorsten
--
there are only 10 types of people who understand binary... those who do and
those who don't...
More information about the TYPO3-german
mailing list