[TYPO3] gifbuilder should not generate empty header

R.E. Klerk rklerk at wanadoo.nl
Fri May 4 10:20:06 CEST 2007


Hello, I use gifbuilder to generate content headers using undermetioned 
Typoscript. Unfortunately is also shows an empty header (20*31px including a 
background image for <h1></h1>) when there is no header filled in.

Can anybody help me get this thing to work, because this doen'st do the 
trick obiously?

Thxs in advance, Ralph

# Header cObject
  cHeader = IMAGE
  cHeader {
    wrap = <h1>|</h1>
    insertData = 1
    file = GIFBUILDER
    file {
      XY = [20.w]+20, 31
      10 = IMAGE
      10 {
        file = fileadmin/templates/bg-h1.gif
      }
      20 = TEXT
      20 {
        text.field = header
        fontSize = 11px
        fontFile = fileadmin/templates/fonts/HARKHRG_.TTF
        fontColor = #FFFFFF
        text.case = upper
        offset = 10, 15
      }
    }
  }
lib.stdheader < cHeader 




More information about the TYPO3-english mailing list