
-
AuthorPosts
-
January 24, 2016 at 3:47 pm #570808
Hi,
We are ready to launch the website I’ve been working on, but I have a small issue with the login forms I am placing in an iframe. Basically the login is to a non-Wordpress site with a different domain.
Right now, since we are keeping two backends for the transition, I need the signed up visitors to be able to choose which backend they log in to. So I’ve created a page that I add to the Login menu item, that opens in a lightbox, and they can choose where to login (using the same login details)
The problem I ma having is that once they click on the loging for whatever platform they choose, that page stays in the iframe for a couple of seconds, then redirects to the full page. How can I keep that login form in the lightbox iframe so that they stay on the same page until they are logged in and redirected to the logged in site?
Thanks a lot in advance
January 24, 2016 at 3:49 pm #570809Edit: Even if I add the login URL to the menu item with the iframe, it has the same behavior – stays in the iframe for a few seconds then redirects to the page.
Also, how can I remove the dark grey colour on the top and bottom, so only the white abstract image shows?
Thank you!
-
This reply was modified 9 years, 1 month ago by
Viuliloush.
January 24, 2016 at 8:19 pm #570876Hi!
The redirect happens for security reasons.
The iframe can not login the form, as it can bring exploits.I do not thing it is something u have to consider doing.
Regards,
BasilisJanuary 25, 2016 at 7:52 am #571128Hi,
In this case, how can I make sure the redirect happens instantly as soon as someone slick on the button, and not after a few seconds as it is now?
January 26, 2016 at 7:40 pm #572310Hi!
I don’t think this is a theme related issue, but you can try to activate a default theme to check if you get the same results there as well or not. Let us know about it.
Best regards,
AndyJanuary 27, 2016 at 9:43 am #572698Hi Andy,
Thanks!
We;re actually looking at this fro our end, so hopefully it will be sorted.
Thanks again for all your team’s help :)
January 28, 2016 at 7:09 am #573519Hi!
We added the “noLightbox” class to the Login and Register menu items. This should disable the lightbox for those menu items.
Regards,
IsmaelJanuary 28, 2016 at 9:09 am #573568Hi,
I actually wanted the lightbox, i just needed the redirect to happen instantly.
I’ve removed the class from the menu items.
You can close this ticket.
Thanks a lot for your help :)
January 29, 2016 at 6:57 am #574345 -
This reply was modified 9 years, 1 month ago by
-
AuthorPosts
- The topic ‘Login form doesn't stay in lightbox iframe’ is closed to new replies.