I can't figure out how to make a tree that is more than two layers.
Every time I try to add a new tree field, it still only gives me the option for root or leaf.
I saw this at the bottom of the tree documentation
The hierarchy level is limited by the number of order fields specified. Feel free to provide as many hierarchy levels as you want.
So I tried adding another order field, but it still only let me select root or leaf.
If you could explain in more detail how to create a more than 2 layer tree, that would help greatly.
Thanks
Comments
Comment #1
sevi commentedYou're on the wrong track.
The node-type is optional; You don't need this option, it just restricts the user (..and as a side-effect the maximum depth).
Just remove all node-types (root/leaf) you've specified and you will get it working.
Note: If all your node-types are set to root or leaf, you will never reach a depth>2 by nature. Because root-nodes (depth=1) cannot be child nodes and leaf-nodes cannot have child nodes. Hence every subordinated node (in depth=2) is a leaf and leaf-nodes cannot...blbalbla.
I hope this was helpful,
greetings,
sevi
Comment #2
corey.aufang commentedI will look into this shortly, thank you for your swift response.
Comment #3
sevi commentedSeems as this problem hasn't caused any more problems..