[TYPO3-mvc] Create HMENU submenu from extbase
Stefan Wild
sw at sw4.de
Mon Oct 4 10:16:52 CEST 2010
Hi,
> That's what I did and already described in this list IIRC. If you don't
> find it, let me know and I'll give some more details.
I did find it (that was in Simon's thread called "HMENU userFunc &
extbase" that I mentioned in my original post), however my problem
seems to be more on the TS side of things. I have found some sample TS
to include the extbase extension which I don't get to work, yet:
page.10.subparts.TOP = USER
page.10.subparts.TOP {
userFunc = tx_extbase_dispatcher->dispatch
pluginName = Pi1
extensionName = extensionname
controller = Angebot
switchableControllerActions {
1 {
controller = Angebot
actions = nav
}
}
action = nav
}
That would be for having the action render the (sub-)menu. I did not
find any clues on using menu.special = userfunc with an extbase.
Also, I haven't found a way how to integrate this into an existing
HMENU, i.e. either manipulating an existing HMENU array or creating the
whole HMENU array (including both the entries from the pagetree and the
ones from the extension).
Can't really get my head wrapped around this.
Best,
Stefan
More information about the TYPO3-project-typo3v4mvc
mailing list