[TYPO3] HMENU/TMENU: 2 levels in 1 menu?

Pieter pieter.v at gmx.net
Sun Dec 3 14:28:04 CET 2006


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