[TYPO3] Generating GMENU depending on user session

Tomas Mrozek mail at cascaval.com
Wed Jun 4 10:16:35 CEST 2008


> AFAIK there's no chance of getting the ids to be displayed into TS
> from a php function and have the menu generated from these values.

Let your own function create the array of pages that should be in the menu.

subparts.MENU = HMENU
subparts.MENU.special = userfunction
subparts.MENU.special.userFunc = user_yourClass->yourFunction

...and then render it as usual.

Tomas Mrozek


More information about the TYPO3-english mailing list