Hi guys, thought I'd throw this out here because I simply can't get my
head around it.

I currently have user authentication working on my site, after my
problems the other day with validation. I'm happy with the way that
works, except for one thing.

In the header of my site I have a couple of links - one points to the
login page, the other to the signup page. What I want to be able to do
is click on each of those, and pop up a modal Ajax dialog box (think
Greybox style), containing the form. The user should then be able to
submit that, if there's errors it'll show them in that box, if not,
the user will be created/logged in and then redirected back to where
they were.

The part I'm having trouble with is redirection from an Ajax form. The
way I understand it is if I do the redirection in the controller
actions the way I normally would, only the Ajax div will be getting
updated, which is not what I want.

Am I right about this? How could I make it work the way I want?

Any help is much appreciated, as always. My next job is to tackle ACL
and the like, that should be fun..... :|


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to