I have created a login page at www.mywebsite.com/members/login
I'm using Zend Framework, Now I wanna be able to have a popup login dialog, so that people don't have to be redirected too many times for authentication, I preferably wanna use a jquery dialog to do that.
I want this to have minimal effect on the login page, I mean I don't wanna reprogram the whole thing again,
Now what's the best way of doing this?
I can think of couple of options 1- Have all the code in all pages, then "dialogifiy" it when needed 2- Use an Iframe within a jquery dialog to show the content of the login page
I think 2 is better because the contents of the iframe can be ssl while the rest of the page is not, so that is good
But I was wondering if there are any better techniques of doing it or not.
You need to create login form as a "widget" by using action helpers . Here is a great way to do it by the project lead of Zend Framework himself: