# s\_core\_menu.action backendmenu action wird ignoriert?

**URL:** <https://forum.shopware.com/t/s-core-menu-action-backendmenu-action-wird-ignoriert/8611>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [14. September 2012 um 10:25 UTC](https://forum.shopware.com/t/s-core-menu-action-backendmenu-action-wird-ignoriert/8611 "2012-09-14T10:25:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bui\_ak](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@bui\_ak](https://forum.shopware.com/u/bui_ak)\
**Post date:** [14. September 2012 um 10:25 UTC](https://forum.shopware.com/t/s-core-menu-action-backendmenu-action-wird-ignoriert/8611/1 "2012-09-14T10:25:03Z")

</div>

hallo, mit folgendem code trage ich den menu-eintrag ein: ` $criteria = array ( 'label' =\> 'Marketing' ); $parent = $this-\>Menu()-\>findOneBy($criteria); if (! $parent) { throw new Enlight\_Controller\_Exception ('cant find menuenty Marketing!'); } $entry = array ( 'label' =\> self::LABEL, 'class' =\> 'sprite-ui-scroll-pane-detail', 'active' =\> 1, 'controller' =\> 'BLACONTROLLER', 'action' =\> 'a1', 'parent' =\> $parent, 'position' =\> 1000, 'style' =\> 'background-position: 5px 5px;' ); $m = $this-\>createMenuItem($entry); ` das erzeugt folgende url im menupunkt: http:///WEB/shopware/4/backend/BLACONTROLLER?file=app&no-cache=1347609489+1+1

und diese url schmeisst die exception Backend\_BLACONTROLLER\_indexAction not found.

ich will aber nicht die indexaction, sondern die action a1.

was mache ich falsch?
