# Einkaufswelten in einer Kategorieseite

**URL:** <https://forum.shopware.com/t/einkaufswelten-in-einer-kategorieseite/34989>\
**Category:** Themes & Design\
**Created:** [3. März 2016 um 10:00 UTC](https://forum.shopware.com/t/einkaufswelten-in-einer-kategorieseite/34989 "2016-03-03T10:00:12Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![sonic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sonic/32/25728_2.png) [@sonic](https://forum.shopware.com/u/sonic)\
**Post date:** [7. März 2016 um 13:00 UTC](https://forum.shopware.com/t/einkaufswelten-in-einer-kategorieseite/34989/13 "2016-03-07T13:00:21Z")

</div>

Hier mal etwas aus meiner Bastelstube:

listing/index.tpl  
&nbsp;

```
{extends file="parent:frontend/listing/index.tpl"}

{block name='frontend_index_content' prepend}
{if $sCategoryContent.attribute.attribute6}
	{assign var="ParamList" value=":"|@explode:$sCategoryContent.attribute.attribute6}
	{assign var="hasTextBeforeEmotion" value=($hasEmotion && in_array("TEbefore",$ParamList))}
	{assign var="hasTextAfterEmotion" value=($hasEmotion && in_array("TEafter",$ParamList))}
	{assign var="hidePromolink" value=($hasEmotion && in_array("hidePromolink",$ParamList))}
{/if}
{/block}

{block name="frontend_listing_index_text"}
{if $hasTextBeforeEmotion}
	{include file='frontend/listing/text.tpl'}
{else}
	{$smarty.block.parent} 	
{/if}
{/block}

```

listing/listing.tpl  
&nbsp;

```
{extends file="parent:frontend/listing/listing.tpl"}

{block name="frontend_listing_list_promotion" append}
{if $hasTextAfterEmotion}
	{include file='frontend/listing/text.tpl'}
{/if}
{/block}

{block name="frontend_listing_list_promotion_link_show_listing"}
{if !$hidePromolink}
	{$smarty.block.parent} 		
{/if}
{/block}

```

Steuerbar über Freitext6: Werte  
**TEbefore** setzt den Kategorietext vor die Einkaufswelt  
**TEafter** setzt den Kategorietext hinter die Einkaufswelt  
**hidePromolink** entfernt den Link unten zu weiteren Inhalten - durch „:“ kombinierbar mit&nbsp;TEbefore und&nbsp;TEafter

Ist zwar jetzt nicht die exakte Lösung zur obigen Frage, aber vielleicht eine Hilfestellung für eigene Anpassungen&nbsp; ![Wearing-Sunglasses](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/wearing-sunglasses.png "Wearing-Sunglasses")

---

_[View the full topic](https://forum.shopware.com/t/einkaufswelten-in-einer-kategorieseite/34989)._
