Ich habe mit splitChar einen Menüumbruch erzeugt, was auch funktioniert; allerdings habe ich unterschiedlich hohe Menügrafiken an den unterschiedlichsten Punkten. Dabei ist es egal ob in der ersten, zweiten oder dritten Ebene.
Vielleicht kennt jemand das Problem.
Hier das TypoScript (wahrscheinlich nicht sehr sauber - funktioniert aber bis auf die splitChar-Geschichte):
MLO = HMENU
MLO.special = directory
MLO.special.value = {$MLOID}
MLO.1 = GMENU
MLO.1.expAll = {$MLO.1.expAll}
MLO.1.NO = 1
MLO.1.NO {
wrap = |<br />
XY = 178, 18+[14.h]
backColor = {$dunkel}
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = {$menu}
10.fontSize = 11
10.text.listNum = 0
10.text.listNum.splitChar = |
10.offset = 13, 13
14 < .10
14.text.listNum = 1
14.fontSize = 18
14.offset = 1000, 1000
15 < .10
15.text.listNum = 1
15.offset = 13, 28
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 146,1
backColor = #FFFFFF
}
20.offset = 165, 1
30 = IMAGE
30.file = fileadmin/images/plus.gif
30.file.offset = 1,1
}
MLO.1.RO < .MLO.1.NO
MLO.1.RO.backColor = {$hell}
MLO.1.CUR < .MLO.1.RO
MLO.1.CUR {
30.file = IMAGE
30.file = fileadmin/images/minus.gif
30.offset = 1, 1
}
MLO.2 < .MLO.1
MLO.2 {
NO {
10.backColor = {$dunkel}
10.fontColor = #FFFFFF
10.offset = 22, 13
15.offset = 22, 28
20.file.backColor = #FFFFFF
30.file = IMAGE
30.file = fileadmin/images/plus.gif
30.offset = 9,1
}
RO < .NO
RO.backColor = {$hell}
RO.5 >
CUR < .RO
CUR {
10.backColor = {$hell}
30.file = IMAGE
30.file = fileadmin/images/minus.gif
30.offset = 9,1
}
}
MLO.3 < .MLO.1
MLO.3 {
NO {
10.backColor = {$dunkel}
10.fontColor = #FFFFFF
10.offset = 30, 13
15.offset = 30, 28
20.file.backColor = #FFFFFF
30.file = IMAGE
30.file = fileadmin/images/plus.gif
30.offset = 18,1
}
RO < .NO
RO.backColor = {$hell}
RO.5 >
CUR < .RO
CUR {
10.backColor = {$hell}
30.file = IMAGE
30.file = fileadmin/images/minus.gif
30.offset = 18, 1
}
}
Die Konfiguration:
W2K3 Standardserver mit XAMPP - sicher.
ImageMagik 4.2.9 korrekt konfiguriert.
Bei den Konstanten (fontfile) im Script handelt es sich um verdana.ttf.
Danke im Voraus.
Thomas