Board Logo

Can icons be assigned by level?
stevebockman - 7/7/2004 at 02:48 PM

I am building a web application that uses the Tree Menu to display customer information. My root level is always "customer", my second level is always "contact", and my third level (which is optional) is always "address".

Because Tree Menu selects icons based on nodes and leaves, rather than levels, my tree erroneously shows "address" icons rather than "contact" icons for all contacts that don't have the optional address.

Is it possible for me to modify either the tree code or the TPL file to always show my "contact" icon even if the contact is a leaf rather than a node?

Steve Bockman

rock - 7/7/2004 at 03:58 PM

Tigra Tree Menu PRO allows to set item icons independently from template defined in TREE_TPL var. You could have as many groups with particular icons set as you wish.

Back to forum: