The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Wed May 04, 2011 6:41 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 07, 2011 11:05 am
Posts: 9
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. ???


Top
 Profile  
 
PostPosted: Wed May 04, 2011 7:59 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Mon Feb 08, 2010 4:15 pm
Posts: 545
Location: Cleveland, Ohio
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


Top
 Profile  
 
PostPosted: Fri May 06, 2011 7:51 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Apr 28, 2011 4:31 am
Posts: 3
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


Top
 Profile  
 
PostPosted: Mon May 16, 2011 4:26 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Mon Feb 08, 2010 4:15 pm
Posts: 545
Location: Cleveland, Ohio
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


Top
 Profile  
 
PostPosted: Mon May 16, 2011 7:12 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Aug 18, 2005 1:16 am
Posts: 1015
Location: Glendale, CA, USA
You might want to vote for this http://ideas.joomla.org/forums/84261-jo ... ile-fields

_________________
http://www.virtueshop.net


Top
 Profile  
 
PostPosted: Thu Jun 16, 2011 3:44 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri May 29, 2009 7:45 am
Posts: 11
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


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 9:08 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 03, 2011 6:02 am
Posts: 37
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


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 10:08 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri May 29, 2009 7:45 am
Posts: 11
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.


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 10:39 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 03, 2011 6:02 am
Posts: 37
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: LucaEcoDo and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group