Categories Tree

Can more than one “Tree” be added to the tree.xml file? For example:

<tree label="Second Tree"> <br> Some nodes and sub nodes... <br> </tree>```

Hello Conan,

Perhaps you could explain the reasoning behind this? Maybe there is an alternative for what you are attempting to do. The tree.xml file will only accept one parent tree.

Basically I don’t want to be locked into the Label “Categories” on one of our sites. It might be fine on some sites but not on our Research site. See below.

One thing to look at as a work around would be hiding the a tag with display: none. Also to remove the list item type from that li with list style: none. A quick test on my end shows that it would successfully hide the “categories” term. Let me know if this works for you. I also encourage you to post this as an idea for our product team to look at. Please let me know if this works…or doesn’t work!

Thanks Ben, I also tried the css route but it would be so much nicer if the Category Widget had a “Primary Node” setting, kinda like the navigation widget has.

This is a little off topic, but do you happen to know if it’s possible to set the default state as collapsed in the tree.xml file? We anticipate adding a number of new categories, and it seems like the tree will get rather long if they are all expanded initially.