- From the Joomla Admin menu, click Extensions > Plugin Manager > User – Profile.
Joomla displays the User Profile plugin screen.
- From the Status list, select Enabled.
- From the Basic Options list, for each field, select Required, Optional, or Disabled.
Note: There are two lists: User profile fields for registration and administrator user forms and User profile fields for profile edit form. The first list is for the User Registration form. The second list is for the Profile Edit form. If you don’t want users to be able to see or edit these fields, you can disable them here. - Click Save & Close to save the User Profile settings.
- From the Joomla Admin menu, select Users > User Manager and then click Options.
Joomla displays the Users Configuration screen.
- From the Allow User Registration field, select Yes.
- Click Save & Close.
- Make sure the Login module is published or that you have a menu link of the type Registration Form.
- From the front end of your website, click the registration link to display the Joomla Registration Form.
You should see the extra fields displayed in the form.
- If you want to change the field names, use the Joomla Language Manager and enter the Language Constant and value; for example: PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL=”Address 1:”
You can find all the Language Constants / Field names in the following file: /administrator/language/en-GB/en-GB.plg_user_profile.ini - To access the Joomla Language Manager, from the Joomla Admin menu select Extensions > Language Manager.
Вопросы, с которыми я сталкиваюсь по ходу своей деятельности и их решения. Пишу редко.
27 марта 2013 г.
Add Extra Fields to Joomla 2.5 Registration Form
With Joomla 2.5, it’s very easy to add extra fields to the
registration form. You have to turn on the user profile plugin, set the
fields you want displayed, and publish a registration form.
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий