problem with modal resource view

144 views
Skip to first unread message

dougb

unread,
Oct 11, 2016, 5:01:22 PM10/11/16
to ResourceSpace
I recently updated my instance of ResourceSpace via svn (r8917) which is running on Mac OS 10.11.
Since the update I am seeing problems with the modal Resource View.
If I perform a search or view one of my collections I see the thumbnails properly, but when I click on a thumbnail to view the resource page I get a pop up window displaying "Please wait..." appearing over the thumbnails.  The System Configuration/User Interface setting for "Resource view modal" is set to enable.

If I set "Resource view modal" to disable then a resource view page does appear, but soon after it appears the Please wait... box appears over it.

I see the same behavior using both Safari and Chrome on a Mac and also using Firefox on linux.

Any suggestions to resolve this problem would be appreciated.

Thanks, Doug

dougb

unread,
Oct 14, 2016, 3:26:21 PM10/14/16
to ResourceSpace
I believe that I have resolved my problem.
The problem was related to mapping the geolocation data embedded in the images.
While using my older Resourcespace version I had modified the config.php file such that only Google maps would be available in the Location Data section of the Resource view:
$geo_layers="gmap, gsat, gphy"

Since the svn update that I made included revision 8445, the Google Maps layer was disabled by default.
When I activated it using $use_google_maps = true; my problem disappeared.
I could view the gmap, gsat, gphy layers and the osm layer if added to the geo_layers configuration.

If I set $use_google_maps = false then the problem I was seeing reappears unless I also remove the google maps layers from the $geo_layers setting.
$geo_layers="osm, gmap, gsat, gphy";   => leads to error
$geo_layers="osm";   => works fine

My config.php file now includes the following and works fine:

$disable_geocoding = false;
$use_google_maps = true;
$geo_layers="gmap, gsat, gphy, osm";


Doug



Reply all
Reply to author
Forward
0 new messages