dondomainer
Active member
I try to call resource categories with
or
But not work...
Code:
<div class="secondaryContent categoryList">
<h3>{xen:phrase categories}</h3>
{xen:raw $categorySidebarHtml}
</div>
or
Code:
<ol>
<xen:foreach loop="$categories" value="$_category">
<li class="{xen:if '{$_category.resource_category_id} == {$category.resource_category_id}', selected}">
<a href="{xen:link resources/categories, $_category}" {xen:if $_category.category_description, 'title="{xen:helper striphtml, $_category.category_description}" class="Tooltip" data-tipclass="resourceCategoryTooltip"'}>{$_category.category_title}</a>
<span class="count">{xen:number $_category.resource_count}</span>
</li>
<xen:if is="{$_category.resource_category_id} == {$showChildId}">
{xen:raw $childCategoryHtml}
</xen:if>
</xen:foreach>
</ol>
But not work...
Last edited: