ymcatwincities / openy

The Open Y platform. See README.md below
https://openy.org
GNU General Public License v3.0
49 stars 111 forks source link

bug: openy_map pins break when map isn't on a top level page #2598

Closed froboy closed 2 years ago

froboy commented 2 years ago

Observed behavior

https://github.com/ymcatwincities/openy/pull/2595#issuecomment-977741769 https://github.com/ymcatwincities/openy/issues/1256

There's some conflict between whether the openy_map module should store relative or absolute paths. Using the map either when Drupal is installed in a subfolder or when the map isn't at a top level page (/about/locations instead of /locations, for example) results in broken pins.

Expected behavior

The Open Y Location Finder map should be able to be used with any base path and on any page in a site hierarchy.

froboy commented 2 years ago

Locations___Drush_Site-Install example with map at a different url.