# $sCategoryContent.template

**URL:** https://forum.shopware.com/t/scategorycontent-template/5045
**Category:** Shopware 3.5
**Tags:** templates--design
**Created:** [9. November 2011 um 13:28 UTC](https://forum.shopware.com/t/scategorycontent-template/5045 "2011-11-09T13:28:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)
#### Post date: [9. November 2011 um 13:28 UTC](https://forum.shopware.com/t/scategorycontent-template/5045/1 "2011-11-09T13:28:12Z")

</div>

hi, ich will eine 3. categorie variante anlegen (listing nur bilder) ` {if $sCategoryContent.template eq "article\_listing\_1col.tpl"} {assign var="sTemplate" value="listing-1col"} {assign var="sBoxMode" value="list"} {elseif $sCategoryContent.template eq "article\_listing\_2col.tpl"} {assign var="sTemplate" value="listing-2col"} {assign var="sBoxMode" value="gallery"} {else} {assign var="sTemplate" value="listing-3col"} {assign var="sBoxMode" value="table"} {/if} ` dafür übergebe ich sTemplate=gallery per link. wie kann ich nun mein $sCategoryContent.template so einstellen, dass ich $sCategoryContent.template = „article\_listing\_2col.tpl“ erhalte? // edit danke für die zahlreichen anregungen. ich hab mich für die smarty variante endschieden.
