# Controller Produktberater -&gt; Wizard

**URL:** <https://forum.shopware.com/t/controller-produktberater-gt-wizard/7218>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [25. Mai 2012 um 20:35 UTC](https://forum.shopware.com/t/controller-produktberater-gt-wizard/7218 "2012-05-25T20:35:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [25. Mai 2012 um 20:35 UTC](https://forum.shopware.com/t/controller-produktberater-gt-wizard/7218/1 "2012-05-25T20:35:07Z")

</div>

Hi, ich will über ein Plugin bei dem Wizard Controller (Produktberater Plugin) eingreifen. [http://www.www.com/shopware.php/sViewpo … late=table](http://www.www.com/shopware.php/sViewport,wizard/sAction,listing/wizardID,1?template=table) wizard.php ` class Shopware\_Controllers\_Frontend\_Wizard extends Enlight\_Controller\_Action { ... }` Jetzt habe ich es im Plugin über diese beiden Events versucht, aber ohne Erfolg. ` $event = $this-\>createEvent( 'Enlight\_Controllers\_Action\_PostDispatch\_Frontend\_Wizard', 'onWizardPostDispatch' ); $this-\>subscribeEvent($event); ` ` $event = $this-\>createEvent( 'Enlight\_Controllers\_Action\_PostDispatch\_Frontend\_Wizard\_Listing', 'onWizardPostDispatch' ); $this-\>subscribeEvent($event); ` Was mache ich falsch? Oder geht das nicht? Danke

---

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [26. Mai 2012 um 09:51 UTC](https://forum.shopware.com/t/controller-produktberater-gt-wizard/7218/2 "2012-05-26T09:51:47Z")

</div>

Niemand eine Idee?

---

<div class="post-metadata">

**Author:** ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)\
**Post date:** [30. Mai 2012 um 00:54 UTC](https://forum.shopware.com/t/controller-produktberater-gt-wizard/7218/3 "2012-05-30T00:54:11Z")

</div>

Wird das Event irgendwo gestartet? Oder wolltest du hier Hooks verwenden? Ansosnten kannst du ganz normales PostDipatch nehmen und den Namen des Kontrollers mit getControllerName() prüfen.

---

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [30. Mai 2012 um 07:38 UTC](https://forum.shopware.com/t/controller-produktberater-gt-wizard/7218/4 "2012-05-30T07:38:14Z")

</div>

Moin Waldi, das Event wird wohl vom Plugin Produktberator gestartet. So wird es zumindest in der Bootstrap definiert. Daher dachte ich, ich komme so an den Controller ran. Ich werde es mal auf deine weise testen. Danke
