Hallo
Ich habe folgendes Problem mit der Drastellung eines sogenannten Rootline Menüs.
In meiner index.html habe ich folgenden Marker plaziert,
und bekomme den Bereich auch auf meiner Seite mit dem Text "###ROOTLINE###" angezeigt.Code:<div id="root"> <div id="rootline-menu">###ROOTLINE###</div> </div>
Das eigentliche Problem ist folgendes:
Wenn ich jetzt folgenden Code in mein TypoScript einbinden bekomme ich an der entsprechenden Stelle nichts angezeigt:
Leider bin ich mir auch nicht sicher wo das ganze in meinem TypoScript eingebunden werden muss:Code:lib.rootline=HMENU lib.rootline.special=rootline lib.rootline.special.range= 0 | -1 lib.rootline.1=TMENU lib.rootline.1.NO.allWrap= Sie sind hier: | > |*| | > |*| |
Hier einmal mein TypoScript:
Wer kann mir helfen?Code:# spam protect e-mail addresses config.spamProtectEmailAddresses = 1 config.spamProtectEmailAddresses_atSubst = (at) # XHTML config.doctype = xhtml_trans config.xhtml_cleaning = all # cache period config.cache_period = 3600 # language config.htmlTag_langKey = de config.metaCharset = utf-8 config.language = de config.locale_all = de_DE plugin.tx_realty_pi1.contactPID = 198 plugin.tx_sbdownloader_pi1.singlePID = 199 plugin.tx_realty_pi1.loginPID = 209 plugin.tx_realty_pi1.feEditorRedirectPid = 241 plugin.tx_realty_pi1.sysFolderForFeCreatedRecords = 240 page = PAGE page { typeNum = 0 bodyTag = stylesheet = fileadmin/templates/main/css/layout.css meta.AUTHOR = meta.COPYRIGHT = meta.DESCRIPTION = meta.KEYWORDS = meta.TITLE = includeJS { file51 = EXT:t3mootools/res/mootoolsv1.11.js file52 = EXT:rgaccordion/res/rgaccordion1.js } 10 = TEMPLATE 10.template = FILE 10.template.file = fileadmin/templates/main/index.html 10.workOnSubpart = DOCUMENT_BODY 10.marks { TOP-MENU = HMENU TOP-MENU { special = directory special.value = 1 entryLevel = 0 #stdWrap.wrap = <ul>|</ul> 1 = TMENU 1 { noBlur = 1 expAll = 1 wrap = <ul>|</ul> NO.wrapItemAndSub = <li>|</li> NO.ATagTitle.field = abstract // description // title ACT = 1 ACT.wrapItemAndSub = <li class="act">|</li> ACT.ATagTitle.field = abstract // description // title } } LEFT-MENU = HMENU LEFT-MENU { entryLevel = 1 1 = TMENU 1 { noBlur = 1 expAll = 0 wrap = <ul>|</ul> NO.wrapItemAndSub = <li class="left-level-1-no">|</li> NO.ATagTitle.field = abstract // description // subtitle // title ACT = 1 ACT.wrapItemAndSub = <li class="left-level-1-act">|</li> ACT.ATagTitle.field = abstract // description //subtitle // title } 2 = TMENU 2 { noBlur = 1 expAll = 0 wrap = <ul>|</ul> NO.wrapItemAndSub = <li class="left-level-2-no">|</li> NO.ATagTitle.field = abstract // description // title ACT = 1 ACT.wrapItemAndSub = <li class="left-level-2-act">|</li> ACT.ATagTitle.field = abstract // description // title } 3 = TMENU 3 { noBlur = 1 expAll = 0 wrap = <ul>|</ul> NO.wrapItemAndSub = <li class="left-level-3-no">|</li> NO.ATagTitle.field = abstract // description // title ACT = 1 ACT.wrapItemAndSub = <li class="left-level-3-act">|</li> ACT.ATagTitle.field = abstract // description // title } } HEADER-IMG = IMAGE HEADER-IMG { file = fileadmin/templates/main/img/img_header.jpg stdWrap.typolink.parameter = 1 alttext = TYPO3 Template Two - Home } LEFT-MARKER = CONTENT LEFT-MARKER { renderObj < plugin.tx_rgaccordion1 table = tt_content select.orderBy = sorting select.where = colPos = 1 } MIDDLE-MARKER = CONTENT MIDDLE-MARKER { renderObj < plugin.tx_realty_pi1.contactPID = 189 renderObj < plugin.tx_rgaccordion1 table = tt_content select.orderBy = sorting select.where = colPos = 0 } } }
Ltd.Lupo
Wo hast du das ganze den hingepackt?
Ins Setup oder in die Constants?
Ich habs bei mir immer im Setup drinne
so siehts bei mir außerdem aus!HTML-Code:lib.rootline=HMENU lib.rootline.special=rootline lib.rootline.special.range= 0 | -1 lib.rootline.1=TMENU lib.rootline.1.NO.allWrap= |  > |*| | > |*| |
gruß
Tuete!
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Lesezeichen