Adding custom fields to registration form - Joomla! Forum - community, help and support
hi,
i trying add custom field existing joomla user registration form. after extensive search , study, decided opt create custom user profile plugin route. copied existing profile folder within plugins>user> folder. made changes, such changes profile myprofile in files, , adding custom field, membershiptype [id]. have added column membershiptype database, in _users table.
then zipped file , uploaded it. plugin installed correctly, want make member ship type appear radio buttons not text, how can that. none of labels seem work. displaying plg_user_myprofile_field_membershiptype_label in form, instead of text provided label within language file.
i not find language files anywhere, copied them manually languages folder. still no change.
and 1 last question, enough link form value database column? coz haven't done of code, joomla handle itself???
look forward help, comfortable coding, have not used php much, seems little confusing me.
cheers,
aditi
i trying add custom field existing joomla user registration form. after extensive search , study, decided opt create custom user profile plugin route. copied existing profile folder within plugins>user> folder. made changes, such changes profile myprofile in files, , adding custom field, membershiptype [id]. have added column membershiptype database, in _users table.
then zipped file , uploaded it. plugin installed correctly, want make member ship type appear radio buttons not text, how can that. none of labels seem work. displaying plg_user_myprofile_field_membershiptype_label in form, instead of text provided label within language file.
i not find language files anywhere, copied them manually languages folder. still no change.
and 1 last question, enough link form value database column? coz haven't done of code, joomla handle itself???
look forward help, comfortable coding, have not used php much, seems little confusing me.
cheers,
aditi
ok, figured out 1 bit of this. after going through form field documentation, declared field type radio, , inserted <option> elements. membership type shows fine. still not sure if being sent xyz_users table column created. value being stored?
also actual registration process not working anymore. returning me registration form page, without doing anything.
wrong?
also actual registration process not working anymore. returning me registration form page, without doing anything.
Comments
Post a Comment