0

I have gone through some Q&A but not sure how to do it. I want the registration form will be only--

Name Email Password Re-type Password

I have installed Authentication - EMail and Authentication - Awo Email Login.Then how to do next? Thank you very much.

1 Answer 1

2

You really don't need to install third-party plugins for this.

Just create template override for com_users registration and there you can hide username field and copy email field value into this field on form submit.

so this is gone be pure Joomla solution,


do it like this:

  1. go to http://katalog.dev/administrator/index.php?option=com_templates&view=templates
  2. open template needed
  3. "Create override" tab => com_users => registration

Now you have override. Next step is code changes

  1. See changes needed to files here at gist.github (you need changes from "alex7r revised this gist")

Note that file name is not com_users_registration_default.php but com_users/registration/default.php. And full path is /templates/YOUR_TEMPLATE/html/com_users/registration/default.php

17
  • Can you tell me more in detail? like where is the file and what codes to write. Thank you so much.
    – Claire
    Jul 6, 2016 at 13:54
  • Did my extended answer helped?
    – Alexandr
    Jul 8, 2016 at 10:57
  • I kept clicking "registration" twice, and don't change the codes yet. Will it hurt?
    – Claire
    Jul 9, 2016 at 14:11
  • no, not at all. it may result at creating second batch of file postfixed with current date, just delete those.
    – Alexandr
    Jul 9, 2016 at 14:31
  • Anyway, I have deleted those two files with date name in the file managers. Do you mean to add the first codes in the com_users_registration_default.php? and no about com_users_registration_complete.php? and how about the second default.php codes? Then I will have -- Name, Email, Password, Retype Password? Thanks a lot.
    – Claire
    Jul 9, 2016 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.