[TYPO3-UG Denmark] TMENU
Jakob
jakob at monaco.as
Wed Jun 6 09:25:30 CEST 2007
Hey Allan, tak for din besvarelse, det var lige det jeg havde brug for
Det virker nu:
# Menu sidenav
lib.sidenav = HMENU
lib.sidenav.entryLevel = 0
# First level menu-object, textual
lib.sidenav.1 = TMENU
lib.sidenav.1.NO {
# Normal state properties
allWrap = <div class="menu1-level1-no"> | </div>
}
# Menu sideundermenu
lib.sideundermenu = HMENU
lib.sideundermenu.entryLevel = 1
# First level menu-object, textual
lib.sideundermenu.1 = TMENU
lib.sideundermenu.1.NO {
# Normal state properties
allWrap = <div class="menu1-level2-no"> | </div>
}
On 06/06/07 7:52, in article
mailman.306461.1181109173.21067.typo3-ug-denmark at lists.netfielders.de,
"Allan Jacobsen" <allan.j at cobsen.dk> wrote:
> Hej Jakob
>
> Du skriver at du har mappet lib.sidenav og lib.sideundermenu, men du har kun
> typoscript til lib.sidenav.
> Fjern det 2. niveau af menuen til lib.sidenav og lav en ny menu med entryLevel
> = 1 for lib.sideundermenu, så kommer det nok til at virke.
>
> MVH
> Allan
> On Tuesday 05 June 2007 12:59, Jakob wrote:
>> Jow det var jeg egentligt godt klar over, TS kommer her:
>> page = PAGE
>> page.typeNum = 0
>> page.10 = USER
>> page.10.userFunc = tx_templavoila_pi1->main_page
>>
>> # Generate page title:
>> lib.sidetitel = TEXT
>> lib.sidetitel.data = page:title
>> page.15 = IMAGE
>> page.15.file = GIFBUILDER
>> page.15.file {
>>
>> XY = 200,100
>> 20 = TEXT
>> 20.text.field = title
>> 20.offset = 0,120
>> 20.niceText = 1
>> 20.align=center
>> 20.fontSize= 10
>> 20.fontFile = t3lib/fonts/retroRockPoster.ttf
>> 20.fontColor = black
>>
>> }
>>
>> ## Menu [Begin]
>> #lib.sidenav = HMENU
>> #lib.sidenav.entryLevel = 0
>>
>> #lib.sidenav.1 = TMENU
>> #lib.sidenav.1.NO {
>> allWrap = <div class="menu1-level11-no">|</div>
>> }
>> ## Menu [End]
>>
>> # Menu 1 cObject
>>
>> lib.sidenav = HMENU
>> lib.sidenav.entryLevel = 0
>>
>> # First level menu-object, textual
>>
>> lib.sidenav.1 = TMENU
>> lib.sidenav.1.NO {
>>
>> # Normal state properties
>>
>> allWrap = <div class="menu1-level1-no"> | </div>
>>
>> }
>>
>> # Second level menu-object, textual
>>
>> lib.sidenav.2 = TMENU
>> lib.sidenav.2.NO {
>>
>> # Normal state properties
>>
>> allWrap = <div class="menu1-level2-no"> | </div>
>>
>> }
>>
>> Som sagt havde jeg mappede 2 menuer, en til hoved menuen og en til
>> undermenuen.
>> Hovedmenu: lib.sidenav
>> Undermenu: lib.sideundermenu
>>
>>
>>
>> On 05/06/07 12:38, in article
>> mailman.304372.1181039908.21067.typo3-ug-denmark at lists.netfielders.de,
>> "Allan Jacobsen" <allan.j at cobsen.dk> wrote:
>>
>>> Hej Jakob
>>>
>>> Hvis vi skal kunne hjælpe dig, må vi nok bede om at se lidt mere
> typoscript
>>> end de 2 linier du viser.
>>>
>>> MVH
>>> Allan
>>> On Tuesday 05 June 2007 10:48, Jakob wrote:
>>>> Hey,
>>>>
>>>> Jeg har rodet lidet med at lave en tmenu, mit problem er at jeg gerne vil
>>>> have undermenuen til at blive vist i modsatte side af hoved menuen! -
> ikke
>>>> under det valgte menupunkt.
>>>>
>>>> Jeg har prøvet at mappe 2 menuer og rodet en del med TS, men jeg kan
> sguette
>>>> få det til at virke!
>>>>
>>>> Jeg bruger den alm: allWrap = <div class="menu1-level1-no"> | </div> til
>>>> hoved menuen og allWrap = <div class="menu1-level2-no"> | </div> til
>>>> undermenuen.
>>>>
>>>> Mvh. Jakob
>>>>
>>>> _______________________________________________
>>>> TYPO3-UG-denmark mailing list
>>>> TYPO3-UG-denmark at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-denmark
>>>>
>>
>> _______________________________________________
>> TYPO3-UG-denmark mailing list
>> TYPO3-UG-denmark at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-denmark
>>
More information about the TYPO3-UG-denmark
mailing list