Resource sub-categories display

dihuta

Formerly Dinh Thanh
It's ok if you did not open thier parent category. Click on it then you can see his children.
 

flowerpot132

Formerly mugtree
I want the tree to display on the LHS without clicking in. Even if I click into the parent I can't see the sub, do you need to have resources added to it to see?
 

XFA

Formerly MtoR
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.
 

poel

Member
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>
 
Top