Hello,
I was wondering if it was possible to make an external html or php page with imbeded login name and password fields which authenticates and opens the moodle website in a new window?
Is anyone using an external page to authenticate their Moodle site? I am hoping to embed the username and password boxes in a page on a seperate php or html page.
Thanks,
Try this link:
http://moodle.org/mod/forum/discuss.php?d=67079
Also, try searching for REMOTE LOGIN in the forums
Just playing around with the Remote Login (External Login), and I've attached a sample with simplified code in it.
LOGIN CODE
<form action="http://moodle.org/login/index.php" target="_self" method="post" name="form" id="form">
Username:<input type="text" name="username" size="15" /> <br>
Password:<input type="password" name="password" size="15" /> <br>
<input type="submit" name="Submit" value="Login" /> <br><br>
</form>
FORGOT PASSWORD CODE (using Forms)
<form action="http://www.moodle.org/login/forgot_password.php?" target="_self" method="get" name="form3" id="form3">
Forgotten your password?<br>
<input type="submit" value="Click here" />
to have it sent to you by e-mail.
</form>
FORGOT PASSWORD CODE (using an HREF LINK)
<a href="http://www.moodle.org/login/forgot_password.php?" target="_self" alt="Forgot Password">Click here if you forgot your password</a>