Ich suche eine Möglichkeit, die Farbe die ein bestimmter Menüpunkt meines graphischen Menüs hat mit einem selbsterstellten PHP Script einzustellen.
Geht das? Wie sieht das ungefähr aus? 🙂
Mein Hauptmenü sieht in TS aus, wie unten angegeben, aber die
10.fontColor = #FFFFFF
möchte ich mit meinem PHP Script umstellen.
Das PHP Script mach ich dann schon noch, aber wie sieht sowas in TS aus???
# HAUPTMENU
# Menu 1 cObject
temp.menu1 = HMENU
# First level menu-object, textual
temp.menu1.1 = GMENU
temp.menu1.1 {
# Normal state properties
NO {
XY = 200,15 |*| 200, 15 |*| 200,18
backColor = #3A4A57
10 = TEXT
10.text.field = title
10.fontFile= fileadmin/templates/fonts/verdana.ttf
10.fontSize = 11
10.fontColor = #FFFFFF
10.niceText = 5
10.offset = 26,8
}
RO = 1
RO {
XY = 200,15 |*| 200, 15 |*| 200,18
backColor = #3A4A57
4 = IMAGE
4.file = fileadmin/templates/pics/squareempty.gif
4.offset = 14,1
10 = TEXT
10.text.field = title
10.fontFile= fileadmin/templates/fonts/verdana.ttf
10.fontSize = 11
10.fontColor = #E35B00
10.niceText = 5
10.offset = 26,8
}
ACT = 1
ACT {
XY = 200,15 |*| 200, 15 |*| 200,18
backColor = #3A4A57
4 = IMAGE
4.file = fileadmin/templates/pics/square.gif
4.offset = 14,1
10 = TEXT
10.text.field = title
10.fontFile= fileadmin/templates/fonts/verdana.ttf
10.fontSize = 11
10.fontColor = #E35B00
10.niceText = 5
10.offset = 26,8
}
}