Hi,
This module is great!
However, I'm running into a problem getting it to work on my site.
The icons -- including the widgets for + and - ... the check boxes ... and the taxonomy icons all fail to show up.
It appears from status bar messages that the module is looking for the icons in, for example, "http://files/line2.gif" rather than in "http://example.com/files/line2.gif"

Not sure why this is happening.

Thanks in advance for any help.

Bill Smith

Comments

Bill Smith’s picture

BTW, I'm using the 12/24/07 version of the module. And the category names DO show up.

tito.brasolin’s picture

Category: support » bug

In my opinion there is a small bug in browser.php, line 409:
tree[i].imPath = base_path + "/" + files_path + "/";

Drupal already adds a slash (at the very least, base_path() will always default to "/", see http://api.drupal.org/api/function/base_path/5) so the line should be:
tree[i].imPath = base_path + files_path + "/";

(a great module, by the way. Thanks, Patrick)

phayes’s picture

Assigned: Unassigned » phayes
Priority: Normal » Critical

Fixed the little bug

I've seen this issue before and I can't figure it out! sometimes it works, sometimes it doesnt...

Any help from other developers would be appreciated..

What I have done to hack a solution is manually set the base path in browser.php on line 475

Hope that helps.. i'll keep trying to track this bug down

phayes’s picture

Status: Active » Fixed

After some testing it looks like removing the extra "/" fixed this issue.

Marking as fixed. yay!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.