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

Enrique Moreno Tent enriquemorenotent at gmail.com
Thu Feb 24 14:30:31 CET 2011


True, that makes the white boxes have black headings, but now the green ones
have a normal non-GIFBUILDER heading...

On Thu, Feb 24, 2011 at 12:52 PM, Tomas Mrozek <mail at cascaval.com> wrote:

> 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
>
> _______________________________________________
> 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