How to add extra field in registration form (Community)

Have an eFront custom job? Here is the place to post it.
Are you a developer looking for an eFront-based job? Please check this forum.

How to add extra field in registration form (Community)

Postby agnanzakariya » Sun Nov 16, 2014 9:26 pm

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
Regards,
Agnan Zakariya Soewardi

---
Provocateur at Edasia Initiative Movement (EIM)
Feel free to contact : me@zakariyasoewardi.co.uk
User avatar
agnanzakariya
 
Posts: 3
Joined: Wed Oct 22, 2014 7:32 pm
Location: Garut, West Java, Indonesia.

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

Postby y.sulistya » Mon Nov 17, 2014 4:03 am

You need to adding this field into themes/default/templates/includes/blocks/signup.tpl
Blessings & Peace,
Yudi Sulistya

---
Database administrator & programmer at Faculty of Psychology • Airlangga University
Programmer at Cyber Campus • Airlangga University
Need personal help? contact me : yudi.sulistya[at]gmail.com
User avatar
y.sulistya
 
Posts: 717
Joined: Mon Apr 13, 2009 12:02 pm
Location: Surabaya, Indonesia

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

Postby agnanzakariya » Mon Nov 17, 2014 5:51 pm

Thanks mas Yudi, It's works!

Image
Regards,
Agnan Zakariya Soewardi

---
Provocateur at Edasia Initiative Movement (EIM)
Feel free to contact : me@zakariyasoewardi.co.uk
User avatar
agnanzakariya
 
Posts: 3
Joined: Wed Oct 22, 2014 7:32 pm
Location: Garut, West Java, Indonesia.

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

Postby y.sulistya » Mon Nov 24, 2014 7:13 am

;)
Blessings & Peace,
Yudi Sulistya

---
Database administrator & programmer at Faculty of Psychology • Airlangga University
Programmer at Cyber Campus • Airlangga University
Need personal help? contact me : yudi.sulistya[at]gmail.com
User avatar
y.sulistya
 
Posts: 717
Joined: Mon Apr 13, 2009 12:02 pm
Location: Surabaya, Indonesia

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

Postby fytos13 » Mon Mar 06, 2017 10:40 pm

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
fytos13
 
Posts: 2
Joined: Sun Jan 08, 2017 9:04 pm


Return to Customizations

Who is online

Users browsing this forum: No registered users and 2 guests