[TYPO3-english] Custom menus using userfunc - help

Tomas Mrozek mail at cascaval.com
Wed Jun 17 14:13:23 CEST 2009


> Is it correct to assume initMenu will fill the first level of menu
> items, and buildNextLevel will fill the second, adding "_SUB_MENU"
> arrays to first level menu items?

You answered it yourself. In initMenu you return the data of all pages
in all menu levels while TYPO3 sorts out which item goes into each level.

Then buildNextLevel already has an array of all the items that are
supposed to be in each menu and you can manipulate that array.

> I don't have the $mconf values for each level parameter.

By $mconf you mean the configuration passed to your function?
I don't know if it's passed with itemArrayProcFunc and if it is, you
might not be able to manipulate it.

What are you actually tying to achieve?

Tomas Mrozek


More information about the TYPO3-english mailing list