shanew Active member May 19, 2018 #1 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?
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?
Brandon Sheley Well-known member May 27, 2018 #2 I would like to know this as well. Upvote 0 Downvote
shanew Active member May 28, 2018 #3 Brandon Sheley said: I would like to know this as well. Click to expand... Seem it is not possible with Xenforo 2 Upvote 0 Downvote
Brandon Sheley said: I would like to know this as well. Click to expand... Seem it is not possible with Xenforo 2
Brandon Sheley Well-known member May 29, 2018 #4 shanew said: Seem it is not possible with Xenforo 2 Click to expand... Have you tried this? https://xenforo.com/community/threads/resource-sub-categories-display.134236/#post-1175227 I saw it last night but haven't tried it yet. Upvote 0 Downvote
shanew said: Seem it is not possible with Xenforo 2 Click to expand... Have you tried this? https://xenforo.com/community/threads/resource-sub-categories-display.134236/#post-1175227 I saw it last night but haven't tried it yet.
R Robert9 Well-known member Feb 20, 2021 #5 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 }}" /> Upvote 0 Downvote
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 }}" />
R Robert9 Well-known member Feb 20, 2021 #6 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 Upvote 0 Downvote
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
R Robert9 Well-known member Feb 20, 2021 #7 I have no anser how to open cat 2 and 9. arg-selected="{{ [2,9] }}"> is not possible. Upvote 0 Downvote