WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
Homepage slider stops working with plugin (12 posts)

  1. cheungvong
    Member
    Posted 1 year ago #

    Hi,

    Your plugin is great but it breaks the homepage slider for my theme for some reason. The images don't load when I have the plugin activated. Any solutions?

    http://wordpress.org/extend/plugins/store-locator-le/

  2. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    URL to your site so we can take a look?

  3. cheungvong
    Member
    Posted 1 year ago #

    Hi,

    The website is http://itekenergy.com/wpdev/

    I had to turn off the plugin in order to get the slider to keep working. Let me know if you would like to see it when the plugin is activated.

    Thanks!

  4. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    OK - my guess is a JavaScript conflict. I love using Firefox w/ the Firebug plugin. Turn on scripts and console and look for the errors.

    Most often there is a conflict in JavaScript. ESPECIALLY if another plugin hooks to any Google APIs directly without using the Google API v3 script loaders.

  5. cheungvong
    Member
    Posted 1 year ago #

    Thanks. I'm getting the error from the main.js file for line 29. Sorry, I'm not really sure what is going on.

  6. mediacafe
    Member
    Posted 1 year ago #

    I'm having the same conflict. Losing the images from Slider PRO - http://sliderpro.net/ I've tried on two different sites, and the same problem on both.

  7. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @cheungvong - main.js is *not* a Store Locator Plus script. Firebug should tell you which plugin (look at the path) owns that file. Share the error message with the developers. Many scripts are not class or namespace secure so things like variable names, custom jQuery calls and other .js elements can fight with other plugins. It is all a matter of which one gets loaded first as to which one reports the error.

  8. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @mediacafe - did you try looking at the scripts to see if there is a conflict?

  9. zodwallop
    Member
    Posted 1 year ago #

    I'm running into the same issue and getting the same error in main.js file for line 29:

    Uncaught TypeError: Cannot read property 'offsetWidth' of null

    Has anyone been able to resolve this?

    Thanks!

  10. Patrick Rauland
    Member
    Posted 1 year ago #

    I've run into this as well - the problem seems to be that the script runs on every page instead of just pages that include the map.

    Since this is more of a bug than a configuration issue I've submitted a bug to his GitHub repo. Hopefully as soon as he gets back from vacation he can deal with it.

  11. Patrick Rauland
    Member
    Posted 1 year ago #

    Lance just got back to me on the GitHub issues page. For the mean time if you have version 3.6 of SLP you can turn off Force Load Javascript in the Map Settings page.

    http://img.photobucket.com/albums/v357/BFTrick/Web/force-load-javascript-on-store-locator-plus.png

    Or you can wait until version 3.7 in which he has a patch.

  12. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    You can also pull the csl.js file from the latest branch on github. The repo is public. Or contact me at http://www.charlestonsw.com/mindset/contact-us/ and ask for the SLP v3.7 csl.js file and I will send it via email.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic