[TYPO3-english] GIFBUILDER headings change on different content-element layout
Tomas Mrozek
mail at cascaval.com
Thu Feb 24 12:50:49 CET 2011
Use CASE (1). In TYPO3 4.5.x you might be able to use it on "fontColor".
If not, you can still use it on the whole "lib.stdheader.10".
Try something like this (not tested):
lib.stdheader.10 = CASE
lib.stdheader.10 {
key.field = header_layout
default = IMAGE
titleText.field = header
altText.field = header
fontTag >
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
}
}
black < .default
black.file.10.fontColor = #000000
}
Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/7/#id2524000
More information about the TYPO3-english
mailing list