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

Sergey Alexandrov serg at alexandrov.us
Thu Feb 24 18:28:09 CET 2011


try insert as the very first line:

lib.stdheader.10.bwp_modules_pi3 >



On 2/24/2011 12:14 PM, Enrique Moreno Tent wrote:
> 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
> }
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list