Resource sub-categories display

Create a TM that replaces categoryList toggleTarget with categoryList toggleTarget is-active in xfrm_category_list_macros template. (This opens the child categories by default)

His question was for xF1 so unfortunately that's an incorrect answer for that version.
 
Ok it is the same, in xfrm_category_list_macros but i need to expand only an exact category (root), here is the code:


Code:
    <xf:if is="$category.resource_category_id == 36">
    <xf:set var="$isSelected" value="1" />
    </xf:if>
 
Back
Top Bottom