Hi, I'm working on a mobile theme for Omeka and everything is pretty much working save for one annoying bug. I'm using the jQueryMobile framework, which uses AJAX hash navigation to load pages. This works fine, more or less, except for on item/show pages displaying the item map (generated by the Geolocation plugin).
So this works:
http://dev.clevelandhistorical.co/items/show/153
But this DOES NOT:
http://dev.clevelandhistorical.co/#/items/show/153
To get the URL that works, I need to disable AJAX (by adding a target=
or rel=
attribute to the link element leading to items/show pages). This doesn't pose much of a problem, really, unless the user has "installed" the site as a (web)app, in which case those links will open into the browser, rather than loading internally as might be expected.
I'm using the geolocation_public_show_item_map()
function to load the item map and have experimented with breaking it out so that the geolocation_scripts()
can be loaded in some other order (assuming there is some conflict), but haven't had much luck so far. It seems that as long as I'm using a hash (#) in the URL, the map is not going to load properly.
Any advice?