[TYPO3] Adding two menus

Jochen Rieger j.rieger at connecta.ag
Thu Jan 5 20:15:37 CET 2006


Hi Martin,

I don't know about your code in the SETUP field. But here you forgot the 
last bracket of each of your menus, as far as I can see.

Try this:

--- snip ---

###FIRST MENU

subparts.NAVKAKS = HMENU
subparts.NAVKAKS.special = directory
subparts.NAVKAKS.special.value = 9
subparts.NAVKAKS {
	entryLevel = 0
	1 = TMENU
	1 {
		expAll=1
		noBlur = 1

		NO {
			wrapItemAndSub = asd | asd
		}
	}
	2 = TMENU
	2 {
		expAll=1
		noBlur = 1

		NO {
			wrapItemAndSub = asd | asd
		}
	}
}

###SECOND MENU

subparts.NAVKOLM = HMENU
subparts.NAVKOLM.special = directory
subparts.NAVKOLM.special.value = 10
subparts.NAVKOLM {
	entryLevel = 0
	1 = TMENU
	1 {
		expAll=1
		noBlur = 1

		NO {
			wrapItemAndSub = asd | asd
		}
	}
	2 = TMENU
	2 {
		expAll=1
		noBlur = 1

		NO {
			asd | asd
		}
	}
}

--- snap ---

I would always use indents to visualize the object levels. It's easier 
to debug! :)

Cheers,
Jochen



More information about the TYPO3-english mailing list