hallotachauch,
ich hab hier grad was zusammengehackt, da bin ich ja fast 'n bischen stolz drauf.
das altbewährte problem mit entweder umbrüche in gmenu oder nicht ist jetzt geschichte! ich hab ein ts-setup hinbekommen das funktioniert für beide varianten. wenn man also einen title festgelegt hat der zu lang für das menübild ist, einfach einen subtitle einfügen mit splitChar und mit dem folgenden setup läuft alles wunderbar (natürlich erst nach anpassung an das eigene layout, logisch 🙂 )
temp.menue3 = HMENU
temp.menue3.entryLevel = 2
temp.menue3.1 = GMENU
temp.menue3.1.NO {
XY = [4.w],27
backColor = #ffffff
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/fonts/FTR_____.PFB
10.fontColor = #000000
10.fontSize = 8
10.offset = 18,16
10.niceText = 0
10.antiAlias = 1
10.if {
isFalse.field = subtitle
}
11 = TEXT
11.text.listNum = 0
11.text.listNum.splitChar = |
11.text.field = subtitle
11.fontFile = fileadmin/fonts/FTR_____.PFB
11.fontColor = #000000
11.fontSize = 8
11.offset = 18,10
11.niceText = 0
11.antiAlias = 1
11.text.if {
isTrue
}
20 = TEXT
20.text.listNum = 1
20.text.listNum.splitChar = |
20.text.field = subtitle
20.fontFile = fileadmin/fonts/FTR_____.PFB
20.fontColor = #000000
20.fontSize = 8
20.offset = 18,21
20.niceText = 0
20.antiAlias = 1
20.text.if {
isTrue
}
4 = IMAGE
4.file = fileadmin/templates/images/m3_0_0sub_out.gif
}
hoffe ihr habt spass, ich hab ihn heute 😃
cya
stefan