[TYPO3-mvc] Create HMENU submenu from extbase

Bastian Waidelich bastian at typo3.org
Mon Oct 4 16:54:53 CEST 2010


Stefan Wild wrote:

Hi Stefan,

> 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
> }

The correct syntax for Extbase trunk should be

page.10.subparts.TOP = USER
page.10.subparts.TOP {
    userFunc = tx_extbase_dispatcher->dispatch
    pluginName = Pi1
    extensionName = extensionname
    controller = Angebot
    action = nav
    switchableControllerActions {
      Angebot {
        controller = Angebot
        actions = nav
      }
    }
  }

Best,
Bastian



More information about the TYPO3-project-typo3v4mvc mailing list