WordPress.org

Ready to get started?Download WordPress

Forums

SimpleModal Login
[resolved] Does not redirect to anything (5 posts)

  1. JMichel C
    Member
    Posted 3 years ago #

    The modal window work fine ; when I type in my login and password, it displays "Connexion" (I have the French translation), but it does nothing, the window is displayed but nothing hapens ...

  2. quietcity
    Member
    Posted 3 years ago #

    I have the same problem - the login appears, I enter name and password, and it sits with the loading animated gif on a white overlay.

    I know the script works and that I've logged in because I can press ESC and enter the URL for the admin without having to enter credentials again. But the modal login just sits, not reloading the browser into the Dashboard.

    http://www.ntimusic.com
    WordPress is in a subdirectory "cms_wp"

    The link is in the footer ("North Toronto Institute of Music"). I'm using this code:
    href="cms_wp/wp-login.php?redirect_to=<?php echo $_SERVER['REQUEST_URI']; ?>" class="simplemodal-login"

    Any ideas?

  3. quietcity
    Member
    Posted 3 years ago #

    Further to my last post...

    I tried taking out the "redirect_to=<?php echo $_SERVER['REQUEST_URI']; ?>" portion of the href, but it still sits and does nothing.

    Test with this account:
    UN: testuser
    PW: testpassword

    It seems to be a browser problem. IE8 no problem... FF, O, Safari don't work.

  4. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    Can you open js/default.js and change:

    redirect = $('#simplemodal-login-redirect', data[0]);

    to:

    redirect = data.children('#simplemodal-login-redirect');

    Let me know if that does not resolve the problem.

    -Eric

  5. quietcity
    Member
    Posted 3 years ago #

    That did the trick. Thanks very much for a quick response.

    Cheers
    Len

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic