Allerdings habe ich keine Ahnung wie die Abfrage korrekt verpacken muss. Egal wie ich es drehe, ich erhalte stehts eine Fehlermeldung.
Ich stelle mir die Abfrage in etwa wie folgt vor:
Code: Alles auswählen
{if($category_depth == 'top')}
<ul class="grid_16 alpha omega"> ....
}else{
<ul class="grid_12 alpha omega">.....
{/if}
Code: Alles auswählen
{if count($module_content)}
{config_load file="$language/lang_$language.conf" section="new_products"}
<div class="product_listing grid_16 alpha omega">
<h2>{#heading#}</h2>
<ul class="grid_16 alpha omega">
{foreach name=product_list item=item from=$module_content}
{snippet file=product_listing_4_item.html item=$item}
{/foreach}
</ul>
</div>
{/if}