| Author |
Message |
Isegrim
Joined: 19 Sep 2003 Posts: 1
|
Posted: Fri Sep 19, 2003 9:18 am Post subject: keeping tree state from one page to another |
|
|
One question:
if I use cookies to store the tree state, than this state is only stored for this specific page.
But: how can I keep the tree state from one page to another?
Let's say I have two different pages. How can I show the same tree state on the second page (no frames!) when linking to it from the first page?
Ok, I could use a variable via GET method, but how can I get the actual tree state as a variable or array? |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Fri May 07, 2004 7:27 am Post subject: |
|
|
| By default, Pro version stores tree state for every unique combination "tree name - host". So, your trees must have same names. |
|
| Back to top |
|
 |
pagehosting4u
Joined: 10 Nov 2004 Posts: 7
|
Posted: Fri Nov 12, 2004 4:48 pm Post subject: |
|
|
I am having the same problem. I have Pro and the tree is called tree1 on all my pages. I have enabled save state. When I go to a page and expand a node and refresh the page, the node stays expanded. If I then click on one of the links to take me to a new page, the tree comes up collapse. Here is what I would like to see.
Page 1 tree:
Item1
....SubItem1
....SubItem2
....SubItem3
Item2
Item3
I now click on SubItem1
SubItem1 Page tree:
Item1
....SubItem1 This should be in selected state with selected style
....SubItem2
....SubItem3
Item2
Item3
This is common with most navigation menus. If I understand correctly, Pro version should handle this by default.
Any suggestions?
Thanks.
Rick |
|
| Back to top |
|
 |
pagehosting4u
Joined: 10 Nov 2004 Posts: 7
|
Posted: Mon Nov 15, 2004 5:29 pm Post subject: |
|
|
I think I have my problem solved. Working on other issues. I'll keep searching the forum.
Rick |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Wed Nov 17, 2004 9:41 pm Post subject: |
|
|
| Try the latest version of the script. In older versions there were some bugs with tree state saving. |
|
| Back to top |
|
 |
|