[TYPO3-english] GIFBUILDER headings change on different content-element layout

Tomas Mrozek mail at cascaval.com
Thu Feb 24 13:52:20 CET 2011


Right, I see another mistake in the code. Try:

lib.stdheader.10 = CASE
lib.stdheader.10 {
  key.field = header_layout

  default = IMAGE
  default {
    titleText.field = header
    altText.field = header
    file = GIFBUILDER
    file {
        XY = [10.w]+5,[10.h]+10
        backColor = #EAEAEA
        10 = TEXT
        10{
            text.field = header
            offset = -2,20
            align = center
            niceText = 1
            fontColor = #ffffff
            fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.otf
            fontSize = 18
        }
        format = png
        backColor = #aec924
        transparentBackground = 1
        transparentColor = #aec924
        transparentColor.closest=1
    }
  }

  2 < .default
  2.file.10.fontColor = #000000
}

Tomas Mrozek



More information about the TYPO3-english mailing list