Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Google Maps also released a new API version, so that could have broken it as well.

    If you open the /js/wpsl-gmap.js and search for ‘html = “<li data-store-id='” + id + “‘>’;

    And replace it with this line, then the broken tag is fixed.

    html = "<li data-store-id='" + id + "'><div><p>" + storeImg + "<strong>" + store + "</strong><span class='wpsl-street'>" + address + "</span>" + address2 + city + " " + state + " " + zip + "<span class='wpsl-country'>" + country + "</span></p>" + moreInfo + "</div>" + distance + "<a class='wpsl-directions' " + url.target + " href='" + url.src + "'>" + wpslLabels.directions + "</a></li>";
    Thread Starter Dave

    (@go3asy)

    Ah I see. It’s likely to be the api rather than the tag that’s preventing the map loading. I take it there’s no way around that?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Don’t know if it will fix it, but if you open the /frontend/class-frontend.php and search for this line.

    wp_enqueue_script( 'wpsl-gmap', ( "//maps.google.com/maps/api/js?sensor=false".$this->get_gmap_api_attributes() ),'' ,'' ,true );

    Then after the sensor=false, add this ?v=3.18. So that you get this. You can also try 3.17 or 3.16.

    wp_enqueue_script( 'wpsl-gmap', ( "//maps.google.com/maps/api/js?sensor=false?v=3.18".$this->get_gmap_api_attributes() ),'' ,'' ,true );
    Thread Starter Dave

    (@go3asy)

    Ah unfortunately doesnt work, still just loads the postcode/town box and nothing else in IE8

    Thread Starter Dave

    (@go3asy)

    Ah it actually appears its a conflict with a plugin I have https://codecanyon.net/item/mobilenav-responsive-menu-plugin/5396355

    When thats disabled works ok. The mobile menu doesnt apply to IE6 anyway so off to find a way to prevent it loading the plugin in old IE..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not loading in IE8’ is closed to new replies.