add field to registration form of joomla 1.6
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.
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.
-
- Joomla! Apprentice
- Posts: 9
- Joined: Thu Apr 07, 2011 11:05 am
add field to registration form of joomla 1.6
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.
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.
- 3dgtech
- Joomla! Guru
- Posts: 546
- Joined: Mon Feb 08, 2010 4:15 pm
- Location: Cleveland, Ohio
- Contact:
Re: add field to registration form of joomla 1.6
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?
Out of curiosity, did you change the db to accommodate the structure changes? Or are you just repurposing the current fields?
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Apr 28, 2011 4:31 am
Re: add field to registration form of joomla 1.6
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
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
- 3dgtech
- Joomla! Guru
- Posts: 546
- Joined: Mon Feb 08, 2010 4:15 pm
- Location: Cleveland, Ohio
- Contact:
Re: add field to registration form of joomla 1.6
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...
since you don't know if a core update will change the core tables/functions, it might be better installing a third party extension...
- aravot
- 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
You might want to vote for this http://ideas.joomla.org/forums/84261-jo ... ile-fields
-
- Joomla! Apprentice
- Posts: 11
- Joined: Fri May 29, 2009 7:45 am
Re: add field to registration form of joomla 1.6
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
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
-
- Joomla! Apprentice
- Posts: 37
- Joined: Thu Feb 03, 2011 6:02 am
Re: add field to registration form of joomla 1.6
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
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
-
- Joomla! Apprentice
- Posts: 11
- Joined: Fri May 29, 2009 7:45 am
Re: add field to registration form of joomla 1.6
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 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
-
- Joomla! Apprentice
- Posts: 37
- Joined: Thu Feb 03, 2011 6:02 am
Re: add field to registration form of joomla 1.6
Thanks for your reply.
I have attached file. I want to have this form as my registration form.
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.