2

Each user in my Joomla website has an associated contact, with photo, link, and bio (in the miscellaneous information field), etc...

I would like to override the edit profile page (com_users/profile/edit.php), disabling the user profile fieldset, and instead using a contact profile fieldset, with selected fields from associated contact.

How can I add those fields to the form in the edit.php file (and be sure that those fields will be actually updated on submit)?

1 Answer 1

2

I would override the profile model with a plugin:

https://community.joomla.org/blogs/community/521-did-you-know-overrides-are-not-just-for-html.html

https://docs.joomla.org/How_to_override_the_component_mvc_from_the_Joomla!_core

Or alternatively overriding profile fields with plugin: https://docs.joomla.org/Creating_a_profile_plugin

Here is a similar question: Override com_users model function save

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.