New field in register

Permalink
Hi!

I have to add a new input to the register form. Everything is okay, but I don't know where I have to edit the controllers/register.php to add the value of the input to the database (off course there is a new column in the users table) I. How can I do that?

Thank You for the help!

 
adajad replied on at Permalink Reply
adajad
Actually you don't need to do it the hard way. You can easily add more fields on the register page by going to 'domain.com/dashboard/users/attributes/' and add your attribute(s).
leventekorponai replied on at Permalink Reply
Thank you, it's worked!

Can I ask again? I have enabled the e-mail validation, and when I register the C5 says, it sent an e-mail, but I don't get it. What can be the problem? I tried out with different e-mail addresses.

I run the site on local sever called XAMPP. Can it be the problem?
adajad replied on at Permalink Reply
adajad
It might be many different things that can prevent your emails to be sent (firewalls, permissions, configurations). Have you looked in your logs (domain.com/dashboard/reports/logs/)?

You can also use an external SMTP server for sending the email. See my answer and the attached screenshot in this thread: http://www.concrete5.org/community/forums/customizing_c5/form-block...
citytech2 replied on at Permalink Reply
citytech2
It is not the problem with concrete5. It will work when you up the site to the live server.

Citytech
leventekorponai replied on at Permalink Reply
Yes the problem was my XAMPP server. I had to configure the mail settings, thanks for the help!