Make the email field ‘read only’ in Joomla edit profile view.

asked Jun 15, 2012 in General by deepa1 (1,580 points)

I want to prevent users from modifying their registered email Id. I want the email field to be read-only.  Does anyone know how to do this?
Please advice
Thanks in advanced

1 Answer

0 like 0 dislike
answered Jun 15, 2012 by RalphK (5,800 points)
It's really straight forwards, all you need to do is to open the file "com_users/models/forms/profile.xml" and then add readonly="true" for email field