R
E
N
D
E
R
_
T
R
E
E

<-- Back to Tags

{RENDER_TREE(obj_id, rel_id, sub_temp, options)}

This will generate a recursive tree structure of data.

Menus or Comment Areas are examples of tree structures.

Parameters
Number Name Default Type Description
1 obj_id Current Page ID Integer The ID of the root Object ID
2 rel_id 0 Integer The relationship ID to use to traverse the tree
3 sub_temp 0 Integer The sub template to use when displaying the data
4 options 0 Integer

Any options to adjust the behaviour of the tree.

1 = Include Root Object

5 order 0 Integer

The order to display the items

0 = By Level/Alpha
1 = By ID

- class String Element Class
- style String Element Style
- tag div String The outer tag to apply to each object
- tag_in String

The inner tag to apply to each element

If the Outer tag is ol or ul then the inner tag will default to li.

Log in to add a Comment.