1. ws
  2. Support
  3. Thursday, March 31 2022, 04:26 PM
Hi, is it possible to disable "password" in edit my profile?
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry but with Easy Profile this is not possible.

Anyway there is a simple workaround, you can hide fields with a CSS style like this:
#member-profile .password1-group,
#member-profile .password2-group{display:none !important}
  1. more than a month ago
  2. Support
  3. # Permalink
ws Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
you mean with the module of type "Easy Profile - Registration/Edit Profile" ?
  1. more than a month ago
  2. Support
  3. # 2
ws Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
Hi,
the way can be the same but this module uses the component view of the template. So it uses the file /templates/your-theme-folder/component.php instead index.php and it load an own CSS file.

A fast way is to add directly the CSS code in your file.
  1. more than a month ago
  2. Support
  3. # 4
ws Accepted Answer
Pro
Many thanks, when I make my own file, any update will change this again?
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
Hi,
sorry for late reply, unfortunately yes, update of the template version could overwrite the file component.php

Another way to avoid this is to use Joomla override feature:
- Copy file from /components/users/views/profile/tmpl/easyprofile.php at /templates/your-theme-folder/html/users/profile/easyprofile.php
- Add the CSS style to the new file
  1. more than a month ago
  2. Support
  3. # 6
ws Accepted Answer
Pro
This seems perfect, many thanks.
  1. more than a month ago
  2. Support
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.