# Liste Partnerprogramm im Backend erweitern

**URL:** <https://forum.shopware.com/t/liste-partnerprogramm-im-backend-erweitern/46414>\
**Category:** Programmierung\
**Created:** [20. Juni 2017 um 13:06 UTC](https://forum.shopware.com/t/liste-partnerprogramm-im-backend-erweitern/46414 "2017-06-20T13:06:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dertombln](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dertombln](https://forum.shopware.com/u/dertombln)\
**Post date:** [20. Juni 2017 um 13:06 UTC](https://forum.shopware.com/t/liste-partnerprogramm-im-backend-erweitern/46414/1 "2017-06-20T13:06:46Z")

</div>

Hallo.

Ich würde gerne die Übersicht im Partnerprogramm um ein Feld/Spalte erweitern.

Das Feld soll in der Übersicht zwischen „Firma“ und „Eingetragen“ gelistet werden.

Ich habe hierzu in der Bootstrap unter „install“ folgende Zeilen:

_$this-\>subscribeEvent(  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ‚Enlight\_Controller\_Action\_PostDispatch\_Backend\_Partner‘,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ‚onPostDispatchBackendPartner‘  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );_

und die Funktion

_public function onPostDispatchBackendPartner(Enlight\_Event\_EventArgs $args)  
{  
&nbsp;&nbsp; &nbsp;$view = $args-\>getSubject()-\>View();  
&nbsp;&nbsp; &nbsp;$my\_data = $view-\>getAssign(‚data‘);  
&nbsp;&nbsp; &nbsp;…  
&nbsp;&nbsp; &nbsp;$view-\>addTemplateDir($this-\>Path() . ‚Views/‘);  
&nbsp;&nbsp; &nbsp;if ($request-\>getActionName() == ‚getList‘) {  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;$view-\>extendsTemplate(‚backend/partner/MEINPLUGIN/model/main.js‘);  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;$view-\>extendsTemplate(‚backend/partner/MEINPLUGIN/view/partner/list.js‘);  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;…  
&nbsp;&nbsp; &nbsp;}  
&nbsp;&nbsp; &nbsp;…  
&nbsp;&nbsp; &nbsp;$view-\>data = $my\_data;  
}_

&nbsp;

So müsste doch die list.js und main.js aus dem Backend-Template durch die aus meinem Plugin ersetzt werden?

Leider scheint das nicht zu funktionieren.

&nbsp;

Kann mir da jemand weiterhelfen?

&nbsp;

Danke.

&nbsp;

&nbsp;

&nbsp;
