cschintlholzer
Forum Replies Created
-
Hello,
I inserted the code in inc/class-borlabs-cookie.php starting at line 129:
BorlabsCookieHelper()->updateBlockedContentTypeJavaScript(
‘wpstorelocator’,
‘var myScriptTag = document.createElement(“script”); myScriptTag.type = “text/javascript”; myScriptTag.src = “https://maps.google.com/maps/api/js’ . wpsl_get_gmap_api_params( “browser_key”, false, ” ) .'”;jQuery(“body”).append(myScriptTag);’,
‘wpslBorlabsCallback();’,
$wpsl_data[‘settings’]
);But the problems remains.
Hello, yes I’m fine with code editing. What’s the fix?
Thank you for your effort ??
Hello,
yes.. When the WPSL shotrcode is not blocked by Borlabs it is working.
The page is build with Elementor. And the shortcode is [borlabs_cookie_blocked_content type=”wpstorelocator”][wpsl][/borlabs_cookie_blocked_content] as shown in the borlabs tutorial here:
https://borlabs.io/plugin-presentation-wp-store-locator/
We are using Borlabs Version 2.2.67.And I just checked on another page we are currently building with the Bricks builder. It has the same problem, but with Borlabs Version 3.0.11.
Hello,
when clusters is disabled the markers seem to be correct and the are no duplications in the html code.
The Number of locations to show is set to 200. If I reduce it to a lower number (like 10) the map zooms in to the start loaction and creates cluster around the start location, but the numbers are wrong aswell. (It seems to show 3 times the original amount of locations.) With the clusters disabled the markers are shown correctly.
Hello,
The url ist correct: https://www.bag-taeterarbeit.de/beratungsstellen/
The Store locator is blocked by Borlabs cookies and is only visible after you acceptet the borlabs message regarding google maps. It is the button after “Beratungsstellensuche”.
Thanks for the help!