drupal
Junior Member
Posts: 7
Registered: 11/15/2007
Member Is Offline
|
| posted on 12/18/2007 at 05:59 PM |
|
|
Root Node
I want my root node to be just a label and not an anchor to an URL. I don't seem to get it right. I followed the tree items heirarchy guide, it does
not work. I always get ' http://something.com/null' for my root node.
Any ideas?
Thanks
drupal
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 12/18/2007 at 08:21 PM |
|
|
Please define "always get ' http://something.com/null'"
Do you get redirected to /null URL when you click the item?
|
|
|
drupal
Junior Member
Posts: 7
Registered: 11/15/2007
Member Is Offline
|
| posted on 12/19/2007 at 05:54 PM |
|
|
In the tree heirarchy guide it said that the only the first argument is required and since I intended to make it not a URL link item, I just put
"null" in the second and third arguments of the openItemByCaption() function. The result is I get redirected to /null URL when I click the item.
Thanks.
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 12/19/2007 at 06:00 PM |
|
|
you but null without any quotes, right?
See correct syntax in samples from the distribution package.
|
|
|
drupal
Junior Member
Posts: 7
Registered: 11/15/2007
Member Is Offline
|
| posted on 12/19/2007 at 07:41 PM |
|
|
yes...and yet it's still clickable with /null URL
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 12/19/2007 at 07:43 PM |
|
|
last thing: check that tree.js is not corrupted. If it's fine then please open the support ticket attaching the zip with files required to reproduce
the problem or provide URL of the page.
|
|
|