• Resolved czucker

    (@czucker)


    I’m trying to use the clean login shortcode insode of an easy modal container.

    I’ve got everything styled and working, except when I actually click login, the page just refreshes and I’m not actually logged in.

    If I place the shortcode directly on the page instead of the modal window, the login works fine.

    If you go to https://development.genco.tv/login-2/ and try to login using test/test as the username/pass, you’ll see what I’m talking about.

    Any thoughts?

    https://www.ads-software.com/plugins/clean-login/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alberto Hornero

    (@hornero)

    Hi @czucker,

    How did you include the shorcode in the modal dialog?

    Paste here the code or try to explain the procedure.

    Regards,

    Alberto.

    Thread Starter czucker

    (@czucker)

    I’m using Easy Modal.

    It has it’s own Admin menu to build modal windows. I just placed the [clean-login] shortcode in a new modal popup. Then placed the Easy Modal shortcode on the page in question. . .

    Hi there, I am using your plugin for the first time too and having the same problem.

    I am using …

    <?php
    echo do_shortcode('[clean-login-edit]');
    ?>

    … in my footer.php file which is displaying the form just fine, but when i submit the form it just refreshes the page with /# at the end and the changes are not saved.

    It works 100% properly when including the shortcode the normal way in the content editor, just not with do_shortcode for some reason. I can’t put it in the content editor as our clients would likely delete it, and its a little bit scruffy like that anyway when i want to include it on every page in a modal.

    It seems that the html generated is exactly the same either way the shortcode is implemented, so perhaps it is something to do with the order things are processed by wordpress, or maybe something else is different as the plugin can’t see the shortcode actually in the content.

    It looks like quite a few people have had the same problem, which is a shame because this looks like a great plugin, easy to set up and style it, i’d rather not get into doing this with gravity forms if i can help it.

    Plugin Author Alberto Hornero

    (@hornero)

    This is because the plugin required of a physical page (post, page or CPT) to be located. It’s part of the authentication process.

    You may solve it if the modal dialog is a part of a post, not a global definition, and support parameters by URL, like a common page.

    Other solution could be modify the plugin to work properly with modal windows, allowing custom target URLs (for failure and successful auth.) instead of parameters. But this feature need to be supported, if you are interested please write me at contacto(at)codection(dot)com

    Regards,

    Alberto.

    Plugin Author Alberto Hornero

    (@hornero)

    Any news? Please, don’t forget to rate our quick support. Many threads resolved quickly but no rating by our users https://www.ads-software.com/support/view/plugin-reviews/clean-login

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Will not work from a modal popup’ is closed to new replies.