Lalit Jain
Lalit Jain

Reputation: 136

Adding Extra fields on Joomla Registration Form

How to add extra fields in Joomla2.5 registration form? I am using profile plugin but i also want to change the order of the fields. Any Suggestion?

Upvotes: 0

Views: 1964

Answers (4)

Petr
Petr

Reputation: 1

There is manual how do it. Turn on subtitles visit http://www.youtube.com/watch?v=a6xsKLiXF40

Upvotes: 0

Ben Sonley
Ben Sonley

Reputation: 79

I imagine you are looking for something like this?

http://extensions.joomla.org/extensions/access-a-security/site-access/authentication/14303

Probably the safest solution in the short and long term. I've not used it but it looks like it does what you want and from an interface rather than changing hard code.

Upvotes: 0

Harsha Nayanajith A.G.
Harsha Nayanajith A.G.

Reputation: 176

You can add additional fields to the registration form by changing the database and a core component file.

First of all take a look of components\com_users\models\forms directory and there is a XML file called registration.xml. This is the file joomla creates the registration form fields. I hope you can understand this file and add what ever the necessary fields you want.

And after that check out your data base table called #__users and add the extra fields you want. (ex: if you want to add Telephone number add filed calld tp_no). And make sure to use the same name that you use in XML file "field name" for the database table column as well.

Upvotes: 0

Elin
Elin

Reputation: 6755

Copy the profile plugin and change it to do what you want, then install it and unpublish the old one.

Upvotes: 1

Related Questions