Page 1 of 1

AjaxMadeSimple login

Posted: Sun Jul 06, 2008 8:26 pm
by JeremyBASS
Hello, So I have been trying to figure out how to use AjaxMadeSimple with FEU with little success, mostly due to lack of examples... hard to find a good post on this subject... so I was wondering if any one would be kind and post a working example?  Some thing simple that would be a good base of ones like me looking to start working with AjaxMadeSimple on the front end of things... thanks for and tips and help... have a great one

jeremyBass

Re: AjaxMadeSimple login

Posted: Tue Aug 05, 2008 8:42 pm
by timstl
did you ever get this working?

I was trying to do something similar over the weekend, but not really ajax. I am using a jqModal (jquery plugin) to popup the login box from any page. I don't really care if it actually logs in ajax-style, so I just post to do_login action as normal, and redirect back to whatever page they were on after they login.

my problem arises if they login fails. I have to tell them somehow, hey, you screwed up and aren't logged in.

the easiest solution seemed to be redirecting them to the login page, and assuming the error message would display. it doesn't. for whatever reason the error param is lost.

a lot of the problem is the way FEU login process is written... not that there's something wrong with the way it's done, but it doesn't work well with the way I'm trying to use it.

if anyone has an example of some form of ajax or login-from-any-page adaptation of FEU, please share what you did, as anything might be helpful.

also, i *think* I had this working with 1.3.1. I thought it was fine. I upgraded to 1.4 and started having issues. I could be entirely wrong, and it never worked, because I didn't do too much testing. but I didn't catch any problems until after the upgrade.

Re: AjaxMadeSimple login

Posted: Wed Aug 06, 2008 3:30 pm
by JeremyBASS
well i'm working on this project right now... I will want this to work... just had to work on the other parts first... there are some locistical issues when you do some of the page cahcing and what not... but I have so ideas on that... If you find one... please share... thanks and I'll get back on this little next week...
jeremyBass