# Ausgabe im Backend

**URL:** <https://forum.shopware.com/t/ausgabe-im-backend/16844>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [18. November 2013 um 15:12 UTC](https://forum.shopware.com/t/ausgabe-im-backend/16844 "2013-11-18T15:12:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theexplainer](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@theexplainer](https://forum.shopware.com/u/theexplainer)\
**Post date:** [18. November 2013 um 15:12 UTC](https://forum.shopware.com/t/ausgabe-im-backend/16844/1 "2013-11-18T15:12:08Z")

</div>

Hallo Wollte ein Backend Plugin basteln, welches mir ein paar Datenbankinhalte ausgibt. Habe mir hierfür ein paar Beispielplugins reingezogen (leider alte vor Version4) Leider bekomme ich das Plugin unter Shopware4 nicht zum Laufen. Wäre dankbar, wenn mir jemand verratet, was geändert werden muss, damit es unter 4 läuft. Hier die Funktion welche in der index.tpl den Inhalt ausgeben sollte: public function testAction(){ $this-\>View()-\>foo = ‘bar’; return $this-\>forward(‘index’); } und in der index.tpl steht folgendes: Test-Ausgabe Variable:{if $foo}

# {$foo}

{/if} danke im Voraus

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [22. Dezember 2013 um 05:39 UTC](https://forum.shopware.com/t/ausgabe-im-backend/16844/2 "2013-12-22T05:39:36Z")

</div>

!? Meinst du backend oder frontend!? Und zur Version 4 findest du auch etliche Beispiele in Wiki. Viele Grüße Gesendet von meinem iPhone mit [Tapatalk](http://tapatalk.com/m?id=1)
