Backend Plugin Entwicklung

Guten Tag, ich habe das Problem das ich immer wenn ich mein im Backend Menu erstellten Link anklicke der Fehler kommt “Controller kann nicht geladen werden”. Ich finde den Fehler aber nicht ich habe es jetzt schon mit vorhanden Plugins verglichen oder im Forum geschaut aber es möchte nicht… Bootstrap: $event = $this-\>createEvent( 'Enlight\_Controller\_Dispatcher\_ControllerPath\_Backend\_Test', 'onGetControllerPathBackend' ); $this-\>subscribeEvent($event); $parent = $this-\>Menu()-\>findOneBy('label', 'Inhalte'); $item = $this-\>createMenuItem(array( 'label' =\> 'Test Reiter/Link', 'onclick' =\> 'openAction(\'Test\');', 'class' =\> 'ico2 table\_plus', 'active' =\> 1, 'parent' =\> $parent, 'style' =\> 'background-position: 5px 5px;' )); $this-\>Menu()-\>addItem($item); $this-\>Menu()-\>save(); return true; die Bootstrap Funktion ist auch simple: return dirname(\_\_FILE\_\_).'/Test.php'; Der Controller hat auch schon ein index sowie ein Skeleton. Machen ich etwas offensichtliches falsch? Shopware 3.5.6 MfG Timothy

Stell mal den Quellcode vom Controller ein - hast du dort eine skeletonAction und auch auch eine skeleton.tpl, wo die Fenster-Properties definiert werden?

class Shopware\_Controllers\_Backend\_Test extends Enlight\_Controller\_Action { public function init() { $this-\>View()-\>addTemplateDir(dirname(\_\_FILE\_\_)."/Views/"); } public function indexAction() { $this-\>View()-\>loadTemplate("backend/plugins/Test/index.tpl"); } public function skeletonAction() { $this-\>View()-\>loadTemplate("backend/plugins/Test/skeleton.tpl"); } public function sometestAction(){ $this-\>View()-\>foo = 'bar'; return $this-\>forward('index'); } } ich habe auch mal das Beispiel aus dem wiki versucht leider ergebnislos da bekomm ich es noch nicht einmal als Plugin installiert :confused: MfG Timothy

Welche Shopware-Version verwendest du?

Shopware 3.5.6