All Commands
All Display
Commands
RENDER_TREE
This will generate a recursive tree structure of data.
Menus or Comment Areas are examples of tree structures.
We have added the Treeflex system from (https://dumptyd.github.io/treeflex/) and an example Sub Template so you could try the following on a test page.
<div class="tf-tree">
<ul>
<li>{RENDER_TREE({HOID}, 65, 243, 1, 0, {"tag":"ul"})}</li>
</ul>
</div>
We have also added a tf-horizontal class that you can use instead of the tf-tree class to display the levels horizontally across instead of down.
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 |
- | 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. |
DISPLAY Commands
ACCORDIONAJAX_EMBED
BASIC_DISP
BLINK
CALENDAR
COMMA
COMMENT
DQUOTE
EDITABLE
FAVICON
FIRST_LINE
FORMAT_DATE
GLINK
GLINK_OFF
GLINK_ON
HTML_SPECIAL_CHARS
HTML_TO_TEXT
IMPORT_FORM
LCASE
MAIN_PAGE
NALB
NOTIFY
OBJ_COLOR
PAGE_JS
PAGE_JS2
PAGE_TITLE
PANEL
PANEL_CLOSED
PANEL_OPEN
PILLS
PLURAL
PRINT_BUTTON
QR_CODE
REGISTER
REG_REP
RETURN_TIDY
SEQN
SET_PAGE_TITLE
SIDEBAR_LEFT/RIGHT
SLIDES
SYMBOL
TRACKING_IMAGE
TRIM
WRAP