LosWochos
Newbie
Posts: 1
Registered: 2/5/2004
Member Is Offline
|
| posted on 2/5/2004 at 04:20 PM |
|
|
TreeMenu, PHP and opened node
Hello.
I´m using treemenu in my php application.
The TREE_ITEMS array is created dynamically from a database. By now everything works fine. But i have one problem: How can i say, that a special node
is opened at initial time?
Alex
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 2/6/2004 at 07:41 AM |
|
|
You could use tree item's scope settings 'st' key to set initial state of the node or use open tree API.
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#local_tpl
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api
|
|
|
Lion27
Newbie
Posts: 1
Registered: 8/5/2004
Member Is Offline
|
| posted on 8/5/2004 at 04:05 PM |
|
|
but this goes only in tree pro and not in tree regular?
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/6/2004 at 03:15 PM |
|
|
While initial state configuration key is not supported by free version, you can still call its methods similarly to open API of PRO version to achieve
the same result. Alternative ways are: upgrade to pro version or customization of free script.
|
|
|