Extending backend customer (new tab problem)

It looks like your list/markets.js isn’t embedded correctly. If a Ext.Js class is unknown, Shopware tries to load it via Ajax and that fails in your case. Please ensure that your ExtJs file is actually loaded before you try to create it (e.g. via {include file=…}) or your extend the backend template also on any ajax Event (load) (with Ext.create(…)).

Have a look at 

Especially in your php-Event Listener:

if ($request->getActionName() == 'index') {
    // your extension is loaded. Just embed the app.js (in which all subfiles should be 
    // included via {include file=...})
    $view->extendsTemplate('backend/swag_extend_customer/app.js');
}

if ($request->getActionName() == 'load') {
    // dependency loader. Make sure to list *all* parts of your extension here except the
    // app.js
    $view->extendsTemplate('backend/swag_extend_customer/view/detail/window.js');
}

 Hope I could help  Wink

1 „Gefällt mir“