The entries table

This is a 'database table' table. Please refer to passing database tables for a detailed explanation of the database table format. In all the following examples we assume that the recordseparator is ^ and the fieldseparator is | .

Columns 5,6,7 and 8 are external keys who point to records in other database tables. Field 5 is an external key for the links table, columns 6 and 7 are external keys for the images table and column 8 is an external key for the fonts table.

The entries table defines the hierarchical structure of your tree.

Column Name Type Default Range
0 Key String No default, obligatory field  
1 Name String No default, obligatory field  
2 Parent’s key String No default, obligatory field  
3 Type Character ‘c’ ‘c’ = container, ‘n’ = non container
4 State Character ‘c’ ‘c’ = closed, ‘o’ = opened
5 List of linksprofiles Space separated string(s)    
6 Name of the icon in the images
table for closed/non-selected
String "closedfolder" where type is c , "closeddocument" where type is n  
7 Name of the icon in the images
table for openened/selected
String "openedfolder" where type is c , "openeddocument" where type is n  
8 Font profile String "defaultfont"  
9 Font alignment
(relative to its icon)
String "middle" "top", "middle", "bottom"
10 Tip/expansion
(when state is closed)
String   "auto" will enable auto expansion of containers
11 Tip/contraction
(when state is opened)
String   ‘auto’ will enable auto contraction of containers
12 Status message
(will be displayed on
the browser’s status bar)
String    

 

examples

<PARAM name=entries value="
^root|a simple tree|-start-
">


<PARAM name=entries value="
^root|a tree with 3 children|-start-|c|o
^child1|child 1|root|n
^child2|child 2|root|n
^child3|child 3|root|n
">

<PARAM name=entries value="
^root|a tree with 1 child and 2 grandchildren|-start-|c|o
^child1|child (container)|root|c|o
^grandchild1|grandchild 1|child1|n
^grandchild2|grandchild 2|child1|n
">
 
using pop up tips

<PARAM name=entries value="
^root|a tree with 1 child and 2 grandchildren|-start-
^child1|child (container)|root|c|c|||||Click here to view grandchildren
^grandchild1|grandchild 1|child1|n
^grandchild2|grandchild 2|child1|n
">