Share » Forums » Setup & design » Find depth in tree

Find depth in tree

Find depth in tree

Monday 12 January 2004 6:22:50 am - 1 reply

Author Message

Albert Berenguer

Friday 16 January 2004 11:16:51 am

for creating the menu you can take a look at:

http://www.ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/creating_tree_menus

Every node has an attribute which indicates its depth (for example $myloop:item.depth).
If you have an array with all the nodes, you should look for the maximum depth of all the nodes, that will be the depth of the tree.

i hope that was what you needed, bye!

-berto-

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu