test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • archaggelos Friend
    #1034139

    Hello team,

    i need to add a new field to the registration form as well as to the user database.

    I need to introduce a new field "advisor" which will be filled up by the new user and it will be the user id of an existing user account. If for any reason user id is wrong (not an existing user) the advisor will be the user id of the Super User’s id (ie 42 in my case). The same will be done in case that new user leave empty the field Advisor (will filled up automaticaly by the Super User’s id) because no need to be a mandatory field. This field need also be added to the users database.

    Please advise me if that is possible to be done, what files or something else need to be changed.

    Thank you and Best Regards

    Pankaj Sharma Moderator
    #1034421

    Hi
    Add new Registration fields in the Joomla, you have to custom work in the Joomla user fields.
    Since its the editing in the core Joomla i am unable to give the exact details as it needs pretty custom work in the core Joomla as well as in the database tables.
    I found a link similar to your topic on the Joomla forum Here and a link Here to add new fields in the registration forum.

    Hope it helps.

    Regards

    archaggelos Friend
    #1036036

    Hi again,

    thank you for the related links you sent me. I did all the changes that links providing but nothing was change in the registration form. Then i realized that JA Social II template is using K2 User registration. Is that correct? If yes which files should i change in order to have a new field added to my registration form?

    Thank you and regards

    Pankaj Sharma Moderator
    #1036135

    Hi
    We have override for K2 templatesja_social_iihtmlcom_k2/register.php.
    You can also post an issue on K2 forum to add new fields so they can suggest an easy way for this.

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum