Hallo mein Typo3-Script schafft es leider aus mir unerklärlichen Gründen nicht, das sec_navigation (einen zweiten Menü-Block) in der richtigen Ebene (Level) darstellen. Ich hab schon einiges rumprobiert, hat aber leider nicht geklappt.
Bin Newbee und hoffe, dass mir da einer helfen kann.
Vielen Dank!
Typo3-Version: 3.8
Website:
http://www.delattre.de 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:
| temp.top_navigation = HMENU temp.top_navigation.1 = TMENU temp.top_navigation.1 { NO.allWrap = <li> | </li> NO.stdWrap.htmlSpecialChars = 1 ACT = 1 ACT.allWrap = <li id="current"> | </li> ACT.stdWrap.htmlSpecialChars = 1 } temp.sec_navigation = HMENU temp.sec_navigation.1 = TMENU temp.sec_navigation.1 { entryLevel = 2 NO.allWrap = <li> | </li> NO.stdWrap.htmlSpecialChars = 1 ACT = 1 ACT.allWrap = <li id="current2"> | </li> ACT.stdWrap.htmlSpecialChars = 1 } temp.lastupdate = TEXT temp.lastupdate { date = d.m.Y } temp.mainTemplate = TEMPLATE temp.mainTemplate { template = FILE template.file = fileadmin/template/template.html workOnSubpart = DOCUMENT_BODY subparts.update < temp.lastupdate subparts.top_navigation < temp.top_navigation subparts.sec_navigation < temp.sec_navigation subparts.content < styles.content.get } temp.headTemplate = TEMPLATE temp.headTemplate { template = FILE template.file = fileadmin/template/template.html workOnSubpart = DOCUMENT_HEADER } page = PAGE page.typeNum = 0 page.stylesheet = fileadmin/template/default.css page.config.doctype = xhtml_trans page.10 < temp.mainTemplate page.headerData.10 < temp.headTemplate config.spamProtectEmailAddresses = 2 config.spamProtectEmailAddresses_atSubst = (at) |