paths appear to be wrong in browser.php

They all assume "modules/geobrowser" while most people put their modules in "sites/all/modules"

Should consider using drupal_get_path('module', 'geobrowser') so it doesnt matter where the module is placed.

I did manually change the paths but still received this error on load.

TypeError: Value undefined (result of expression this.xmlDoc.load) is not object.

Didn't really look into that one. I'll report back if I can figure out whats causing that for me.

Great module by the way! Looking forward to seeing where this goes.

Comments

phayes’s picture

Assigned: Unassigned » phayes
Status: Active » Fixed

Fixed the paths. Thanks for the drupal_get_path trick.

If you find any more about the this.xmlDoc.load error (I can replicate it) could you post a new issue?

Cheers,

Patrick

saint65’s picture

Fantastic script, would love to see how to implement the layers properly.
Anyway I found after the patches 1.1>1.2, 1.2>1.3, 1.3>1.4, icons etc i had already copied the "files_to_copy" to drupal_dir/files, and then i changed
around line 329

 tree[i].imPath = base_path + "/" + files_path + "/";

to

 tree[i].imPath =  files_path + "/";

I have not worked out why the base_path was not working out.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

chrisada’s picture

Status: Closed (fixed) » Active

I still find that I need to make the changes saint65 did in #2 in order to get the images to appear in Firefox.

phayes’s picture

There are also issues with the file copy code in the install file

phayes’s picture

Status: Active » Fixed

fixed it

Anonymous’s picture

Status: Fixed » Closed (fixed)

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