Huhu!
Habe ein gmenu erstellt was auch funtionierte, musste dann aber die Inhalte in einen Unterordner umziehen (von id 1 nach id 15). Habe das specialvalue also auf 15 gesetzt.
Seitdem klappen die Untermenus nicht mehr auf...
OK, habe gerade den TS-Code eingefuegt und es erscheinen 2 Fehlermedungen im Untermenu-Teil.
Die Fragen lauten also:
1. Liegt es an den Fehlermeldungen?
2. Wie kopiere ich denn die Untermenu Properties richtig? Im Hauptmenu-Teil mache ich ja auch nix anderes...
3. Was muss ich tun damit die Untermenus aufklappen?
Vielen Dank!
Emil
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76:
| temp.listMenu = HMENU temp.listMenu.special = directory temp.listMenu.special.value = 15 temp.listMenu.1 = GMENU temp.listMenu.1 { NO { wrap = |<br> XY = 230, 25 backColor = #9E9E9E 10 = TEXT 10.text.field = title 10.fontColor = #353636 10.fontFile = fileadmin/fonts/arialn.ttf 10.fontSize = 12 10.offset = 7, 18 20 = IMAGE 20.file = GIFBUILDER 20.file { XY = 230,1 backColor = #ffffff } 20.offset = 0, 24 }#NO zu ACT < .NO ACT = 1 ACT.backColor = #9999CB RO < .NO RO = 1 RO { backColor = #bbbbbb }#RO zu }#temp.1 zu temp.listMenu.2 < .temp.listMenu.1 temp.listMenu.2 { NO.backColor = #aaaaaa NO.10.fontFile = fileadmin/fonts/arial.ttf NO.10.fontColor = #353636 NO.10.offset = 25, 18 NO.20.file.backColor = #626262 RO < .NO - ERROR: Line 63: Object copied in this line "RO < .NO" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. RO = 1 RO { 10.fontColor = #ffffff backColor = #626262 }#RO zu ACT < .NO - ERROR: Line 69: Object copied in this line "ACT < .NO" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. ACT = 1 ACT.backColor = # b2b2e9 }#temp.2 zu page.10.subparts.RIGHTMENU < temp.listMenu |