Feb 20th, 2010, 7:10 AM
(Jan 10th, 2010, 10:59 AM)Ben Wrote: Hi jacoblang,
Huh! I was just sitting down to look at this when I found out I'd already written an API function for this very job! Wow, I must be getting old: I'd completely forgotten.
Give this page a read:
http://docs.formtools.org/api/?page=ft_api_login
It's bare bones: it just explains how the function works. You'll need to do the following:
1. Include the FT API in all pages where you want to add this login form (or much better would to be just add it to one include file).
2. wrap the code in that page to detect the presence of a login POST submit, so it only tries to login with the username + password from your form.
That's pretty much it... please do let me know if you have any trouble.
- Ben
Hi Ben,
I have a similar question:
I need to a have a custom login page (I can use the above to add the login form to the custom page), however, once logged in and on their personalized landing page, I need them to have access to their assigned FT2 forms and views.
Any suggestions?
Thanks,
Bill
