hello,
I need help to setup username to be the email address and to be able to hide it from the registration field.I use a component called taxi booking that when somebody makes a booking, it silently register the user by email and name.
This is what I have tried to do but didn't change anything:
First i have tried to modify the file /templates/socialize/html/com_users/registration/default.php following this tutorial
joomla.stackexchange.com/questions/17053...-joomla-registration
but nothing changed in the registration form.
Second i have created a new override in /templates/socialize/html/com_community/registration/default.php but nothing change yet.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
ok, but I understand that Joomsocial is using his own registration file and not the Joomla /registration/default.php.
Can you please advice me if this method would work:
"Following same idea, a simpler solution might be just including hidden inputs with values in com_users\views\registration\tmpl\default.php above
<input type="hidden" id="jform[username]" name="jform[username]" value="username" />
It would pass the validation and you would no longer need to override controllers etc."
JomSocial uses just own registration field layout. It uses the same registration controller: ROOT/components/com_users/controllers/registration.php
JS layout field uses nearly the same code. You may try method you posted.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you