Hallo,
ich will auf meiner Seite ein horizontales Hauptmenü haben und Links und rechts jeweils ein Untermenü. Das mit dem Hauptmenü hat eigentlich auch direkt geklappt nur jetzt bin ich soweit das er mir im Linkien und im rechten untermenü immer das gleiche anzeigt. Links soll das 2. Level angezeigt werden und rechts Das 3.! hab auch schon hier rumgestöbert allerding nichts gefunden was in meinem Falle Funkitioniert hat, man sollte noch dazu sagen das ich totaler neuling in sachen Typo3 bin. Hier mal mein Menü und der code:
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:
| temp.mainTemplate = TEMPLATE temp.mainTemplate { template = FILE template.file = fileadmin/template/test.html workOnSubpart = Document_Body marks.MENU_OBEN = HMENU marks.MENU_OBEN { special = directory special.value = 19 1 = TMENU 1.NO = 1 1.NO.ATagParams = class="hmenu" 1.NO.linkWrap = <td class="bblue" width="135px">|</td> } marks.LINKS = HMENU marks.LINKS { 1 = TMENU 1.NO = 1 1.NO.ATagParams = class="grau" 1.NO.linkWrap = <tr><td height="2px" width="20px"></td><td height="2px" width="135px"></td></tr><tr><td class="bgrey" height="22px" width="20px"></td><td class="bgrey" height="22px" width="135px">|</td></tr> } marks.RECHTS = HMENU marks.RECHTS { 1 = TMENU 1.NO = 3 1.NO.linkWrap = <tr><td height="2px" width="20px"></td><td height="2px" width="135px"></td></tr><tr><td class="bgrey" height="22px" width="20px"></td><td class="bgrey" height="22px" width="135px">|</td></tr> } marks.LOGO = IMAGE marks.LOGO.file = fileadmin/template/logoWBW.jpg marks.Inhalt = FILE marks.Inhalt.file = fileadmin/template/inhalt.html marks.rechts = File marks.rechts.file = } page = PAGE page.stylesheet = style.css page.typeNum = 0 page.10 < temp.mainTemplate |