Ich habe einen Marker LEFTMENU. Dort ist folgender Code..
LEFTMENU = HMENU
LEFTMENU {
special = directory
#special.value.data = leveluid:1
entryLevel = 0
1 = GMENU
1.NO = 1
1.NO {
XY = 125, 23+[30.h]
# backColor = red |*| green |*| red
backColor = #CBD5EA
wrap = |<br />
10 = TEXT
10.text.field = title
10.fontColor = black
10.fontFile = fileadmin/fonts/arial.ttf
10.fontSize = 9
10.niceText = 0
10.offset = 5, 15
10.text.listNum = 0
10.text.listNum.splitChar = |
20 < .10
20.text.listNum = 1
20.offset = 5,26
20.if.isTrue=1
30 < .20
20.text.listNum = 1
20.fontSize = 3
20.offset = 500,500
20.if.isTrue=1
40 = IMAGE
40.file = GIFBUILDER
40.file {
XY = 125,1
backColor = #FFFFFF
}
40.offset = 0, 22+[30.h]
}
1.RO < .1.NO
1.RO {
tmp < .backColor
backColor = #779988
5 < .10
5.fontColor < .tmp
5.offset = 6,16
}
}
Diesen Code habe ich auch noch wo anders stehen, mit einigen wenigen Unterschieden. Ich würde gerne diesen Code nur einmal definieren und nur noch die einzelnen Dinge anpassen. Wie mache ich das, und wie kopiere ich das dann an die entsprechende Stelle? Hab schon Vieles erfolglos versucht. Müsste irgendwie so gehen wie ich NO nach RO kopiere aber ich schaffs nicht #angry#
Danke für die Hilfe.