Custom Login?
Page: 1
Hello,
I was wondering if it would be possible to have a custom AC login from my homepage. For example, a username/password field right on my homepage that would log in my clients.
Thanks!
I was wondering if it would be possible to have a custom AC login from my homepage. For example, a username/password field right on my homepage that would log in my clients.
Thanks!
Ilija Studen
on Dec 7. 2007. 4:16 am
Hi,
Yes you can as long as you have all form fields (including hidden ones) from activeCollab login form with proper names in the form on your website.
Yes you can as long as you have all form fields (including hidden ones) from activeCollab login form with proper names in the form on your website.
activeCollab team member
Hi Ilija,
I just tried doing this and it isn't as simple as you make it.
I even just tried doing a View Source on my activecollab login page, and creating a new page with that code. Clicking submit button does nothing.
I assume that some other files need to be included... What would they be?
Thanks,
John
I just tried doing this and it isn't as simple as you make it.
I even just tried doing a View Source on my activecollab login page, and creating a new page with that code. Clicking submit button does nothing.
I assume that some other files need to be included... What would they be?
Thanks,
John
Ilija Studen
on Jan 15. 2008. 4:35 am
There is nothing special about this form, you must of missed something.
You need a form that submits a POST request to login page with following fields:
- login[email]
- login[password]
- login[remember]
and hidden field name submitted with value submitted. Here is a simple form that I've just created that can log you in our trial setup:
I mentioned about, there is nothing special about it. Hope it helps.
Update: Just create a topic in Mods and Hacks with this code.
You need a form that submits a POST request to login page with following fields:
- login[email]
- login[password]
- login[remember]
and hidden field name submitted with value submitted. Here is a simple form that I've just created that can log you in our trial setup:
<form method="post" action="http://www.activecollab.com/try/login"> Email: <input type="text" name="login[email]" /> Password: <input type="password" name="login[password]" /> Remember me: <input type="checkbox" name="login[remember]" /> <input type="hidden" name="submitted" value="submitted" /> <button type="submit">Go baby go!</button> </form>
I mentioned about, there is nothing special about it. Hope it helps.
Update: Just create a topic in Mods and Hacks with this code.
activeCollab team member
Thanks Ilija!
When I view the source of the login page of my aC installation, the form action is not included:
<form method="post" id="system_form_2" class="uniForm focusFirstField">
Everything works fine now. Thanks again!
When I view the source of the login page of my aC installation, the form action is not included:
<form method="post" id="system_form_2" class="uniForm focusFirstField">
Everything works fine now. Thanks again!
Ilija Studen
on Jan 15. 2008. 2:04 pm
ZeroHC:When I view the source of the login page of my aC installation, the form action is not included
It's because activeCollab login form is on login page so there is no need for action to be included. For any other form it is required.
activeCollab team member



