[TYPO3-english] CASE working for all except 1 value

Enrique Moreno Tent enriquemorenotent at gmail.com
Thu Feb 24 18:14:35 CET 2011


I have this case that's working for all values except for "2"... Can anyone
see where the problem is, please??

lib.stdheader.10.bwp_modules_pi3 = CASE
lib.stdheader.10.bwp_modules_pi3{
    key.field = tx_bwpmodules_boxlayout

    1 = IMAGE
    1{
        titleText.field = header
        altText.field = header
        file = GIFBUILDER
        file {
            XY = [10.w]+5,[10.h]+10
            backColor = #EAEAEA
            10 = TEXT
            10{
                text.field = tx_bwpmodules_boxlayout
                offset = -2,20
                align = center
                niceText = 1

                fontColor = red
                fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.ttf
                fontSize = 18
            }

            format = png
            backColor = white
            transparentBackground = 1
            transparentColor = #aec924
            transparentColor.closest=1
        }
    }

    2 < .1
    2.file.10.fontColor = #ffffff

    default < .1
    default.file.10.fontColor = blue
}


More information about the TYPO3-english mailing list