Sidebar Login
redirect after successful login (2 posts)

  1. mikuniek
    Posted 5 years ago #

    Hi there!

    I'm using this great plugin to allow users log-in in a modal window in iframe.

    I succeeded to open necessary code in iframe using colorbox but after user logs in, confirmation is being displayed in same iframe (which is not necessarily bad, this can be tweaked by reloading the main page after modal box is closed), but is there a way to reload the main page after successful login?

    Would appreciate any help.

    As for now, redir can be changed in admin section of the plugin, but it opens the main page in iframe, which is not good.

  2. Mike
    Posted 5 years ago #

    I believe you can refresh a page from an iframe using javascript - self.parent.location.reload(true); but I would not know how to do it in your situation.

    You might be better off coding a custom solution instead of using the plugin, or using a lightbox without an iframe.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sidebar Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic