Board Logo

Root Node
drupal - 12/18/2007 at 05:59 PM

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 - 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 - 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 - 12/19/2007 at 06:00 PM

you but null without any quotes, right?
See correct syntax in samples from the distribution package.


drupal - 12/19/2007 at 07:41 PM

yes...and yet it's still clickable with /null URL


tigra - 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.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/