# Abfrage des Listing Templates in der listing.tpl

**URL:** <https://forum.shopware.com/t/abfrage-des-listing-templates-in-der-listing-tpl/17063>\
**Category:** Shopware 3.5\
**Tags:** themes--design\
**Created:** [27. November 2013 um 13:40 UTC](https://forum.shopware.com/t/abfrage-des-listing-templates-in-der-listing-tpl/17063 "2013-11-27T13:40:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopbesitzer](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@shopbesitzer](https://forum.shopware.com/u/shopbesitzer)\
**Post date:** [27. November 2013 um 13:40 UTC](https://forum.shopware.com/t/abfrage-des-listing-templates-in-der-listing-tpl/17063/1 "2013-11-27T13:40:59Z")

</div>

Hallöchen! In der box\_article.tpl funktioniert folgendes: `{if $sTemplate eq 'listing-1col'}` Das selbe wollte ich nun in der listing.tpl abfragen, aber irgendwie ist da was schief Wenn ich die Kategorie auf Liste stelle, kriege ich das 3-Spalten layout und die Variable hat listing-3col (?? cache hab ich gelöscht) Beim zweispaltigem korrekt listing-2col und beim 3spaltigem listing-3col, aber das vierspaltige heisst “listing” ? Ist das richtig so?

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [27. November 2013 um 23:20 UTC](https://forum.shopware.com/t/abfrage-des-listing-templates-in-der-listing-tpl/17063/2 "2013-11-27T23:20:21Z")

</div>

Richtig
