Jump to content

Automaticaly expand category tree to specific level


jollyjokester

Recommended Posts

Hey guys,

I'm looking for a way to make the category tree in the left column to be expanded automaticaly to specific level on load of the page. 

 

I tried to do it in the BO with settings of the category block and specifying the level of the tree to be expanded and disabling the 'dynamic' option but that's not what I'm trying to achieve. 

 

Could anyone help me out with it? Greatly appreciate it! Thank you. 

 

 

No clue why I haven't found it previously but to achieve the desired state of the categories tree as Rocky wrote in my previous topic we need to modify the treeManagement.js and add :

$('ul.tree > li > ul').each( function() {     
           toggleBranch($(this));       
 });
Edited by jollyjokester (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...