RM 2.0 How to expand all sub categories in Resource manager?

shanew

Active member
Hello,

How to expand all sub categories in Resource manager without clicking on its parent category?

Or can I only expand sub categories from a parent category like this image?

sub_categories_rm.webp
 
xfrm_category_list_macros

<xf:set var="$isActive" value="{{ $isSelected OR $hasPathToSelected AND $children is not empty }}" />

to

<xf:set var="$isActive" value="{{ 1 OR $hasPathToSelected AND $children is not empty }}" />
 
To open only one

<xf:macro name="simple_list_block" arg-categoryTree="!" arg-categoryExtras="!" arg-selected="{{ 0 }}">

change 0 to the cat you want to open
 
Top Bottom