[TYPO3] Multiple Hmenu types in one?

JoH asenau info at cybercraft.de
Fri Apr 20 22:58:46 CEST 2007


> I've included the code for two different menus that I'd like
> to combine into one. How could I accomplish this?
>
> ## Menu [Begin]
> lib.subMenu2 = HMENU
> lib.subMenu2.special = list
> lib.subMenu2.special.value = 40,47
> ## Menu [End]
>
> ## Menu [Begin]
> lib.subMenu2 = HMENU
> lib.subMenu2.entryLevel = 2
> lib.subMenu2.1 = TMENU
> ## Menu [End]

Use a COA:

lib.submenu2 = COA
lib.submenu2 {
    10 = HMENU
    10 {
        special = list
        #blah
    }
    20 = HMENU
    20 {
        entrylevel = 2
        #blah
    }
}

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list