how to add description in login page

how to add description in login page

by solmaz naderi -
Number of replies: 2

Hi every one

i'm newbie in moodle , and i'm not familar with php at all. i want to add some description in login page for my users (to know how can log in by guest account) ... 

i'm in critical situation , would you help me how can i do that?




thanks in advance

Solmaz

Average of ratings: -
In reply to solmaz naderi

Re: how to add description in login page

by Artur Welp -
You can point an diferent page to login.

Go to: Administration > Plugins > Authentication > Manage authentication

In this page there is an option: "Alternate login URL". In this option you can make moodle redirect to a custom login page.

Just copy the HTML of your page, make the changes you need, save as an new file and make moodle redirect to it.

If you want to create something new, use this form in the HTML page and you are free to do anything

<form method="post" action="http://yoursite.com/login/index.php">
<fieldset>
<label for="username">Username:</label><input type="text" name="username" id="username" />
<label for="password">Password:</label><input type="password" name="password" id="password" />
</fieldset>
<fieldset>
<input type="submit" value="Login" />
</fieldset>
</form>

Also you may like to see this post: https://moodle.org/mod/forum/discuss.php?d=26629

In reply to solmaz naderi

Re: how to add description in login page

by Trevor Furtado -
Picture of Plugin developers

Site administration > Plugins > Authentication > Manage authentication > auth_instructions