Hallo,
bei untenstehendem TS erhalte ich immer eine schwarze Überschrift. Die Farbe wird im FCE über eine Selectorbox ausgewählt (z.Bsp. 'gruen').
Das Feld 'text' habe ich gemappt, um zu sehen, was in fontColor steht - erstaunlicherweise '#75af15', nur ist die erstellte Graik nicht grün sondern schwarz.
Hoffe, mir kann jemand helfen.
vg mormel
temp.grafik = IMAGE
temp.grafik {
file = GIFBUILDER
file {
XY = [10.w],26
format = gif
backColor = #ffffff
transparentColor = #ffffff
10 = TEXT
10 {
text.field =
text.current = 1
text.listNum = 0
fontSize = 16
fontFile = fileadmin/fonts/arialbd.ttf
offset = 0,20
fontColor = CASE
fontColor {
key.field = field_farbe
gruen = TEXT
gruen.value = #75af15
default = TEXT
default.value = #868686
}
niceText = 0
}
}
}
temp.title = TEXT
temp.title.data = page:title
lib.headline < temp.grafik
lib.headline.file.10.text >
lib.headline.file.10.text < temp.title
lib.text = TEXT
lib.text < lib.headline.file.10.fontColor