[TYPO3] HMENU/TMENU: 2 levels in 1 menu?
Peter Klein
peter at umloud.dk
Sun Dec 3 20:14:17 CET 2006
Hi Pieter. If you just need to show the title of the previous page, you
don't need to create a menu for it..
You could just do something like this:
-- cut --
10 = TEXT
10.data = leveltitle:-2
10.typolink.parameter.data = leveluid:-2
-- cut --
This will give you the title of the previous page, with link.
--
Peter Klein / Umloud Untd
"Pieter" <pieter.v at gmx.net> wrote in message
news:mailman.1.1165152443.15909.typo3-english at lists.netfielders.de...
> Hi all,
>
> I'm trying to get 2 levels of the tree structure in 1 menu list: 1 page of
> level n on top and all the pages of level n+1.
> My Typoscript looks like this (but is not working):
> temp.mainmenu.20 = HMENU
> temp.mainmenu.20.1 = TMENU
> temp.mainmenu.20.1 {
> #details about level 1
> }
> temp.mainmenu.20.2 = COA
> # this should show 1 item of level 1
> temp.mainmenu.20.2.1 = TMENU
> temp.mainmenu.20.2.1 {
> maxItems = 1
> entryLevel = -1 # not sure about this value
> }
> # this should show all the items of level 2 belonging to
> # the level 1 item shown on top.
> temp.mainmenu.20.2.2 = TMENU
> temp.mainmenu.20.2.2 {
> # ...
> }
>
> The COA inside the menu does not seem to work. Is there any other way to
> get this done?
>
> Thanks very much
> Pieter
More information about the TYPO3-english
mailing list