Hallo,
der entry-level ist es nicht, denn er gibt ja nur die Startebene an. Zum Verständnis wenn also ds Menü innerhalb der MArker dieses Scripts steht, dann funktioniert es einwandfrei.
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: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213:
| page = PAGE page.bodyTag = <body> page.config { doctype = xhtml_trans xmlprologue = none htmlTag_langKey = de xhtml_cleaning = all cache_period = 10 linkVars = L sys_Language_uid = 0 language = de removedefaultJS = 1 } page.meta { description = Hier steht eine Beschreibung der Website. keywords = Hier steht eine kommaseparierte Aufzählung. author = Peter Frey robots = nofollow } page.headerData.5 = TEXT page.headerData.5.value ( <link href="fileadmin/styles/elemente.css" rel="stylesheet" type="text/css" /> <link href="fileadmin/styles/formulare.css" rel="stylesheet" type="text/css" /> <link href="fileadmin/styles/ebenenID.css" rel="stylesheet" type="text/css" /> <link href="fileadmin/styles/klassen.css" rel="stylesheet" type="text/css" /> ) page.20 = TEMPLATE page.20 { template = FILE template.file = fileadmin/masterTemplate.htm workOnSubpart = DOKUMENT marks{ INHALT < styles.content.get SPRACHE= PHP_SCRIPT SPRACHE.file = fileadmin/scripts/my_languageMenu.php LOGO = IMAGE LOGO.file = fileadmin/images/logo.gif MENU_OBEN = HMENU MENU_OBEN.special = directory MENU_OBEN.special.value = 20 MENU_OBEN.1 = TMENU MENU_OBEN.1 { NO.ATagTitle.field = description // title noBlur = 1 expAll = 0 wrap = <ul>|</ul> NO.wrapItemAndSub = <li>|</li> CUR = 1 CUR.doNotLinkIt = 1 CUR.wrapItemAndSub = <li class="gruen">|</li> CUR.allWrap = |<span class="usb">. </span> ACTIFSUB = 1 ACTIFSUB.wrapItemAndSub = <li class="gruen">|</li> ACTIFSUB.allWrap = |<span class="usb">. </span> ACTIFSUB.ATagParams = class="aktiv_link" } KLICKPFAD = HMENU KLICKPFAD { special = rootline special.range = 2|-1 1 = TMENU 1.NO = 1 1.NO.doNotLinkIt = 1 1.noBlur = 1 1.target = _self NO.ATagTitle.field = description // title 1.NO.linkWrap = | > |*| 1.CUR = 1 1.CUR { linkWrap = <strong>|</strong> doNotLinkIt = 1 } } HAUPTNAVIGATION = HMENU HAUPTNAVIGATION { special = directory special.value = 21 1 = TMENU 1.NO = 1 1.noBlur = 1 1.noBlur = 1 1.expAll = 0 1.wrap = <ul>|</ul> 1.NO.wrapItemAndSub = <li>|</li> 1.CUR = 1 1.CUR.doNotLinkIt = 1 1.CUR.wrapItemAndSub = <li class="gruen">|</li> 1.CUR.allWrap = |<span class="usb">. </span> 1.ACTIFSUB = 1 1.ACTIFSUB.wrapItemAndSub = <li class="gruen">|</li> 1.ACTIFSUB.allWrap = |<span class="usb">. </span> 1.ACTIFSUB.ATagParams = class="aktiv_link" 1.NO.ATagTitle.field = description // title } } } tt_content.menu.20.2 = HMENU tt_content.menu.20.2.stdWrap.wrap = tt_content.menu.20.2 { special = directory special.value.field = pages 1 = TMENU 1.noBlur = 1 1.expAll = 1 1.wrap = <ul id="Sitemap">|</ul> 1.NO.allWrap = 1.NO.linkWrap = 1.NO.wrapItemAndSub = <li>|</li> 1.NO.allWrap = |<span class="usb">. </span> 1.NO.ATagBeforeWrap = 0 2 < .1 2.wrap = <ul>|</ul> 2.NO.wrapItemAndSub = <li>|</li> 3 < .2 3.NO.wrapItemAndSub = <li>|</li> 4 < .2 4.NO.wrapItemAndSub = <li>|</li> lib.stdheader.10.1.fontTag = <h1>|</h1> lib.stdheader.10.2.fontTag = <h2>|</h2> tt_content.menu.20.2.1.NO.allWrap > tt_content.menu.20.2.wrap = tt_content.stdWrap.dataWrap > tt_content.stdWrap.space=0 } [globalVar = GP:L = 1] config.sys_language_uid = 1 config.language = en [global] [globalVar = GP:L = 2] config.sys_language_uid = 2 config.language = fr [global] [globalVar = GP:L = 3] config.sys_language_uid = 3 config.language = es [global] [globalVar = GP:L = 4] config.sys_language_uid = 4 config.language = it [global] tt_content.menu.20.2.1.target = tt_content.menu.20.2.2.target = tt_content.menu.20.2.3.target = tt_content.menu.20.2.4.target = tt_content.menu.20.2.wrap = tt_content.menu.20.2.2.target = lib.stdheader.10.1.fontTag = <h1>|</h1> lib.stdheader.10.2.fontTag = <h2>|</h2> lib.stdheader.10.3.fontTag = <h3>|</h3> tt_content.header.20.dataWrap = <p>|</p> tt_content.stdWrap.prefixComment > lib.stdheader.stdWrap.prefixComment > tt_content.text.20.prefixComment > tt_content.stdWrap.dataWrap > lib.parseFunc_RTE < lib.parseFunc lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines { encapsTagList = div,p,pre,h1,h2,h3,h4,h5,h6 remapTag.DIV = P nonWrappedTag = P innerStdWrap_all.ifEmpty = } lib.stdheader { 10.1.fontTag = <h1>|</h1> 10.2.fontTag = <h2>|</h2> 10.3.fontTag = <h3>|</h3> 10.4.fontTag = <h4>|</h4> 10.5.fontTag = <h5>|</h5> stdWrap.dataWrap = | } tt_content.bullets.20.stdWrap.prefixComment = |
Ich möchte aber es aber als Extension-Template verwenden.
Grüße
Peter