Page 1 of 1

How to add extra field in registration form (Community)

PostPosted: Sun Nov 16, 2014 9:26 pm
by agnanzakariya
This little confuse happen when I customize efront feature, it's hard coded rather than redesign efront theme. I want custom user profile to add extra field in registration form. I use efront community === Version 3.6.14.4 - build 18016 ===

So, I start edit index.php, in signup section to add function like image below:

Image
Image

later, I add new id in database table

Image

But result still far from what expect, the field not showing

Image

ADD EXTRA FIELD SUCCESS IF : After email address field, show new field "Nomor KTP"
Note : I have added "define name" in lang-[origin_language].php.inc

Code: Select all
define("_NOKTP","Nomor KTP");


I know that's feature easily is available in the Educational/Enterprise editions. But I'm prepare for use Community version, if anyone have same experience with this case, I hope you can helping me. Many thanks

Regards,
Agnan Z. Soewardi

Re: How to add extra field in registration form (Community)

PostPosted: Mon Nov 17, 2014 4:03 am
by y.sulistya
You need to adding this field into themes/default/templates/includes/blocks/signup.tpl

Re: How to add extra field in registration form (Community)

PostPosted: Mon Nov 17, 2014 5:51 pm
by agnanzakariya
Thanks mas Yudi, It's works!

Image

Re: How to add extra field in registration form (Community)

PostPosted: Mon Nov 24, 2014 7:13 am
by y.sulistya
;)

Re: How to add extra field in registration form (Community)

PostPosted: Mon Mar 06, 2017 10:40 pm
by fytos13
Hi ! I have the same problem ! I want to add country and age in the registration form of the users ! Can you explain with a little detail how to do this ?

Thanks !
Fytos