[steh auf dem schlauch] frontend controller

man, tausend mal gemacht jetzt will’s nicht :frowning: will eine contoller erstellen wie folgt: class Shopware\_Plugins\_Frontend\_Demo\_Bootstrap extends Shopware\_Components\_Plugin\_Bootstrap{ public function install() { $event = $this-\>createEvent( 'Enlight\_Controller\_Dispatcher\_ControllerPath\_Frontend\_Demo', 'onGetControllerPathFrontend' ); return true; } ... public function onGetControllerPathFrontend(Enlight\_Event\_EventArgs $args) { die('xxx'); return $this-\>Path().'/Controllers/Frontend/Demo.php'; } ... } aufruf: domain.de/Demo reaktion: null was ist verkehrt? // edit naja, mein fehler statt createEvent muss es subscribeEvent sein $event = $this-\>subscribeEvent( 'Enlight\_Controller\_Dispatcher\_ControllerPath\_Frontend\_Demo', 'onGetControllerPathFrontend' ); *closed*