Front End Users one field login form
Previous article Next articleTo enter a protected area at your website using the Front End Users module you need a login name and password. Sometimes it is more convenient to have just one field.
How to use
I will describe two methods. Choose the one which suits you the most...
In both cases one of the form fields is pre filled in and is hidden so only one field is visible to the visitor.
A. Let all users log in with just one "password".
Create in the Front End Users Admin page a new user named i.e. "FEUser" and fill in the password you want to use.
Open in Design Manager the "FrontEndUsers::login form" and change this line:
into:
What I do here is giving the username field a default value and afterwards hide it!
By changing the template and using CSS you can hide the fields and labels you don't want to show.
B. Give each user his/her own login name.
Create in the FEU Admin page a few users and use the same password each time, i.e. "DefaultPassword".
Open in Design Manager the "FrontEndUsers::login form" and change this line:
into:
What I do here is giving the password field a default value and afterwards hide it!
By changing the template and using CSS you can hide the fields and labels you don't want to show.
Comment Form
ReviewManager
ReviewManager
0 Comments
No comments yet...