# Artikel Backend extensions

**URL:** <https://forum.shopware.com/t/artikel-backend-extensions/56577>\
**Category:** Programmierung\
**Created:** [20. November 2018 um 16:35 UTC](https://forum.shopware.com/t/artikel-backend-extensions/56577 "2018-11-20T16:35:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maha](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@Maha](https://forum.shopware.com/u/Maha)\
**Post date:** [20. November 2018 um 16:35 UTC](https://forum.shopware.com/t/artikel-backend-extensions/56577/1 "2018-11-20T16:35:55Z")

</div>

Hallo,

Ich möchte beim Anruf Artikel Detail Backend eine zuzätlische Feld hinzufügen.

event ist :&nbsp;&nbsp;‘Enlight\_Controller\_Action\_PostDispatchSecure\_Backend\_Article’ =\> ‘onPostDispatchBackendArticle’,

und danach die function:

&nbsp;

```
 /\*\* \* @param \Enlight\_Event\_EventArgs $args \*/ public function onPostDispatchBackendArticle(\Enlight\_Event\_EventArgs $args) { /\*\* @var \Enlight\_Controller\_Action $controller \*/ $controller = $args-\>getSubject(); $request = $controller-\>Request(); $view = $controller-\>View(); $view-\>addTemplateDir($this-\>pluginDirectory . '/Resources/Views/'); if ($request-\>getActionName() === 'load') { $view-\>extendsTemplate('backend/article/view/detail/window.js'); } }

```

Problem ist :&nbsp;$request-\>getActionName() ist nicht load und kommt nicht im if rein.&nbsp;

Ich brauche aber die Load action. ist mein Event korrekt? hat jemand eine Idee.

&nbsp;

Danke

Grüße.

&nbsp;
