By Aktarus95 on Friday, 13 May 2016
Posted in General
Likes 0
Views 1.3K
Votes 0
Hi,

I would like to modify the EasySocial Registration Form.
I didn't find it on the backend.
How could I do this?

Thank you
Finally I found another way (from another forum) which is working!
I share it with you may be someone will be interested.

Following same idea, a simpler solution might be just including hidden inputs with values in com_users\views\registration\tmpl\default.php above

<button type="submit" class="btn btn-primary validate"><?php echo JText::_('JREGISTER');?></button>


add

<input type="hidden" id="jform[username]" name="jform[username]" value="username" />
<input type="hidden" id="jform_name" name="jform[name]" value="name" />


It would pass the validation and you would no longer need to override controllers etc.
·
Sunday, 15 May 2016 00:59
·
0 Likes
·
0 Votes
·
0 Comments
·
The registration workflow is dependent on the way you configure the fields and steps of the profile type. Go to the "Profile Types" at the back end and click on the "Custom Fields" tab
·
Friday, 13 May 2016 23:53
·
0 Likes
·
0 Votes
·
0 Comments
·
I have another question. I was able to remove all the field by disabling them in a view tab. However this doesn't work with the Name's field. I can't remove it whatever I do. How can I do that please?

Thanks
·
Saturday, 14 May 2016 00:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Unfortunately that was not possible to remove it, because that name field is under mandatory field same as Joomla requirement for their registration field.

if you would like to display only 1 field for name field, you can edit that name field from the custom field tab, and select `single name` (screenshot : http://screencast.com/t/sGmGUrRQ2B )

Hope this help.
·
Saturday, 14 May 2016 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
I have already done that. What I want is to leave only username field. So I think I am gonna do that by using css "display: hidden" then.

Thank you
·
Saturday, 14 May 2016 22:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Hm, even if you turn this off with css, they won't be able to register as the system would require the minimum fields that Joomla requires.
·
Saturday, 14 May 2016 23:32
·
0 Likes
·
0 Votes
·
0 Comments
·
yes true, but there is one trick I can do:
$this->name=$this->username;
Then use CSS to hide the field.
However I don't know where is the PHP file to modify the code.
·
Sunday, 15 May 2016 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing this and glad that your issues are resolved now
·
Monday, 16 May 2016 00:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post