# Smarty Outputfilter registrieren

**URL:** <https://forum.shopware.com/t/smarty-outputfilter-registrieren/30753>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [22. September 2015 um 12:20 UTC](https://forum.shopware.com/t/smarty-outputfilter-registrieren/30753 "2015-09-22T12:20:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [22. September 2015 um 12:20 UTC](https://forum.shopware.com/t/smarty-outputfilter-registrieren/30753/1 "2015-09-22T12:20:01Z")

</div>

Hi zusammen, ich möchte einen Smartyfilter (outputfilter.trimwhitespace) zentral registrieren, nur wo wird Smarty in Shopware eigentlich instanziert? Vielen Dank und viele Grüße, Chris

---

<div class="post-metadata">

**Author:** ![Manuel\_Kerstin](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Manuel\_Kerstin](https://forum.shopware.com/u/Manuel_Kerstin)\
**Post date:** [5. Oktober 2015 um 13:23 UTC](https://forum.shopware.com/t/smarty-outputfilter-registrieren/30753/2 "2015-10-05T13:23:57Z")

</div>

Hallo, vielleicht hilft bei dieser Thematik folgendes Plugin: Darin wird Smarty dahingehend erweitert, dass der jeweilige Blockname als HTML-Kommentar ausgegeben wird. [https://github.com/dnoegel/DsnFrontendBlocks](https://github.com/dnoegel/DsnFrontendBlocks)

---

<div class="post-metadata">

**Author:** ![coarsy](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@coarsy](https://forum.shopware.com/u/coarsy)\
**Post date:** [7. Oktober 2015 um 10:08 UTC](https://forum.shopware.com/t/smarty-outputfilter-registrieren/30753/3 "2015-10-07T10:08:05Z")

</div>

Moinsen Manuel, super, Dankeschön für den Hinweis. Sieht mir schon mal nach nem Ansatz aus, auch wenns auf den ersten Blick leicht überdimensioniert wirkt.
