[TYPO3] Menu of subpages
Rakowski Tomasz
raczek at open.infi.pl
Mon Sep 25 17:46:09 CEST 2006
Martin Mifsud napisał(a):
>
> Rakowski Tomasz wrote:
>> Makrela Corporation napisał(a):
>>> Hello group!
>>>
>>> I have a menu in BE like that:
>>>
>>> RooT
>>> -Level1
>>> - Level1.1
>>> -Level2
>>> -Level2.1
>>> -Level2.2
>>> -Level2.2.1
>>> -Level3
>>> -Level3.1
>>> -Level3.2
>>>
>>> I want to display on my site in three different places three levels
>>> of menu presented above,
>>> so let's say in the place A I want to have subpages of Level1, in the
>>> place B subpages of
>>> Level2 and in the place C subpages of Level3.
>>>
>>> Unfortunately I cant get it working.
>>> Here is the sample of my TS:
>>>
>>> temp.menu_1 = HMENU
>>> temp.menu_1.special = directory
>>> temp.menu_1.special.value = 51
>>>
>>>
>>> temp.menu_1.1 = TMENU
>>> temp.menu_1.1 {
>>> # Normal state properties
>>> NO.allWrap = <div class="menu_1">|</div>
>>>
>>> # Enable active state and set properties:
>>> ACT = 1
>>> ACT.allWrap = <div class="menu_1">|</div>
>>>
>>> }
>>>
>>> # Second level menu-object, textual
>>> temp.menu_1.2 = TMENU
>>> temp.menu_1.2 {
>>>
>>> # Normal state properties
>>> NO.allWrap = <div class="menu_2">|</div>
>>>
>>> # Enable active state and set properties:
>>> ACT = 1
>>> ACT.allWrap = <div class="menu_2">|</div>
>>>
>>> CUR=1
>>> CUR.allWrap = <div class="menu_2">|</div>
>>>
>>> }
>>>
>>> The code generates subpages, but if the subpage (Level2.2) has
>>> another subpage (Level2.2.1) it won't be displayed!
>>> If you will try to do it with temp.menu_1.special = list instead of
>>> directory it will display also parent subpage (Level2)
>>> which I don't want to be shown - but in this case clicking on
>>> Level2.2 will display subpage Level2.2.1.
>>>
>>>
>>> Looking forward to hearing from you
>>> racco
>>>
>> Does anyone know how to solve this problem?
>>
>>
>> greetings
>> racco
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>
> Maybe I misunderstand the problem, but don't you just need to make a 3rd
> TMENU?
>
> Martin
No, no I have already four levels, I just placed here two because I
didn't want to repeat the code, sorry
More information about the TYPO3-english
mailing list