And also this piece of typoscript costs me lot's of headache's, it's such an easy piece of typoscript and again, it works fine locally on my laptop, but when I upload it to the server (Weiland) it seams that it doesn't work. It returns an image when the subtitle is filled, but the ifEmtpy statement returns a blanc image instead of the subtitle 1 page up .. Very strange because it works fine on my laptop. The TYPO3 versions on the laptop and the server are the same (4.0.1). Thanks for looking at the script and give some feedback ...
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17:
| temp.imagesubtitle = IMAGE temp.imagesubtitle.file = GIFBUILDER temp.imagesubtitle.file { XY = [10.w]+10, 56 transparentColor = #ffffff transparentColor.closest = 1 10 = TEXT 10 { text.field = subtitle text.ifEmpty.data = levelfield:-1, subtitle, slide text.ifEmpty.required = 1 offset = 3, 33 fontFile = fileadmin/fonts/bickham.otf fontSize = 58 fontColor = #2A3643 } } |