Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've copied all the data from all .js files into a new "sore-locator.compiled.js" file that I want to use to edit the script.
But when I do it like that this div don't have any data:
<div class="google-store-locator-panel storelocator-panel"></div>
And no stores are listed.
Why does this not work and are there a better way to do this?
My main goal is to make changes to the google-store-locator-panel / storelocator-panel to make it so that it appears on the map.
Please point me in the right direction.
Comments
Comment #1
rodrigoeg CreditAttribution: rodrigoeg as a volunteer and at CI&T commentedThere might be other ways of overwriting the details via Store Locator Javascript API. Copying the javascript content might be causing other problems.
As this ticket is very old, I am not sure if you are still facing this challenge.