add field to registration form of joomla 1.6

Need help with the Administration of your Joomla! 2.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
shraddha123
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Apr 07, 2011 11:05 am

add field to registration form of joomla 1.6

Postby shraddha123 » Wed May 04, 2011 6:41 am

hello friends,
i need to add fields in registration form of joomla and i used user profile plugins for the same by enabling it .but now i want to change the fields which are there with profile( like i dont want favouritebook field in it.)

so where should i do changes ? and one more thing i dont want that logout image button on login form of joomla which is used to logged out instead of that i want my own url( which i already given in top menu )and onclick of that i will logged out with displaying message.

i go through lots of sites and may be steps given in that are right but i could not find any form.php page in componenet/com_users/registration to edit it. :(

i am using joomla 1.6
pls help me .thanks in advanced. ???

User avatar
3dgtech
Joomla! Guru
Joomla! Guru
Posts: 545
Joined: Mon Feb 08, 2010 4:15 pm
Location: Cleveland, Ohio
Contact:

Re: add field to registration form of joomla 1.6

Postby 3dgtech » Wed May 04, 2011 7:59 am

Most likely you are looking for the module default.php right?
Out of curiosity, did you change the db to accommodate the structure changes? Or are you just repurposing the current fields?
Eli Aschkenasy
http://themodularway.com

santhosh003
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Apr 28, 2011 4:31 am

Re: add field to registration form of joomla 1.6

Postby santhosh003 » Fri May 06, 2011 7:51 am

Hii,
I am also facing same kind of problem. I want to create custom registration page with validation.
Can someone please tell me Where i can create custom fields and custom validations.
thanks

User avatar
3dgtech
Joomla! Guru
Joomla! Guru
Posts: 545
Joined: Mon Feb 08, 2010 4:15 pm
Location: Cleveland, Ohio
Contact:

Re: add field to registration form of joomla 1.6

Postby 3dgtech » Mon May 16, 2011 4:26 pm

all custom registration fields will have to go into the db somehow. make sure that you capture them...
since you don't know if a core update will change the core tables/functions, it might be better installing a third party extension...
Eli Aschkenasy
http://themodularway.com

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: add field to registration form of joomla 1.6

Postby aravot » Mon May 16, 2011 7:12 pm


bharatsoftpro
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri May 29, 2009 7:45 am

Re: add field to registration form of joomla 1.6

Postby bharatsoftpro » Thu Jun 16, 2011 3:44 pm

Dear shraddha123,

very easily to add new field in joomla 1.6. due to new jform class provides Standard form field types control for more details ( http://docs.joomla.org/Standard_form_fi ... eter_types ).
So first open root/components/com_users/models/forms/registration.xml and add new element with proper attributes e.g. <field name="sir_name" type="text"
description="COM_USERS_REGISTER_SIRNAME_DESC"
filter="string"
label="COM_USERS_REGISTER_SIRNAME_LABEL"
message="COM_USERS_REGISTER_SIRNAME_MESSAGE"
required="true"
size="30"
/>
2nd step go to "xxx_users" table and add the "sir_name" field.
Note- only for front end registration. similarly you can do with profile.xml.

or another alternate joomla 1.6 by default profile plugin only enable and customize it or make new plugins on the basic of your requirement make a new plugins. for more details http://docs.joomla.org/Creating_a_profile_plugin

kurian_86
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Thu Feb 03, 2011 6:02 am

Re: add field to registration form of joomla 1.6

Postby kurian_86 » Wed Jul 06, 2011 9:08 am

Dear bharatsoftpro,

I want to add custom fields in registration form in joomla 1.6. can you plz guide me in detail.

I shall be humbly thankful to you.

Regards and Thanks

bharatsoftpro
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Fri May 29, 2009 7:45 am

Re: add field to registration form of joomla 1.6

Postby bharatsoftpro » Wed Jul 06, 2011 10:08 am

kurian_86 wrote:Dear bharatsoftpro,

I want to add custom fields in registration form in joomla 1.6. can you plz guide me in detail.

I shall be humbly thankful to you.

Regards and Thanks


can u submit the screen short or give a name of the html control. i will set in directly on profile plugins or registration.

kurian_86
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Thu Feb 03, 2011 6:02 am

Re: add field to registration form of joomla 1.6

Postby kurian_86 » Wed Jul 06, 2011 10:39 am

Thanks for your reply.

I have attached file. I want to have this form as my registration form.
You do not have the required permissions to view the files attached to this post.


Return to “Administration Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 11 guests