Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

disable update mail field on user profile

Featured Lock Resolved Task
Hi,
Into user profile form page, I need to disable the update of mail fields.
I would like that are visible but not editable.

How I can do that?

Regards
Lele

Attachments (1)

  • Screen_Shot 11-14-18 at 10.24 AM.JPG
    Screen_Shot 11-14-18 at 10.24 AM.JPG 37.3 KB

6 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Here is small CSS tip for you:

input#jform_email1,
input#jform_email2 { display:none; }


you can try also put inside
pointer-events: none !important;
cursor: not-allowed;


instead display:none;

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
Is possible by code customization, but what about GDPR ?
User should have right to edit all personal information.

Emanuele Flain

More than a month ago #Permalink
Hi,
Is possible by code customization, but what about GDPR ?
User should have right to edit all personal information.


Yes I know, but it's for a desiderata of my customer in agreements with his clients.

I find the file edit.php in /com_users/profile but I don't know how to update that :)

Paul Frankowski - Staff

More than a month ago #Permalink
Maybe use custom CSS and hide those fields only.
Sorry but PHP customization is beyond support.

----
Beside today or tomorrow will be Helix update, so maybe wait or use CSS method.

Emanuele Flain

More than a month ago #Permalink
Here is small CSS tip for you:

input#jform_email1,
input#jform_email2 { display:none; }


you can try also put inside
pointer-events: none !important;
cursor: not-allowed;


instead display:none;


Ok Thank You. :)


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Sifat

Sifat

Total Accepted Answers: 61
Toufiq

Toufiq

Total Accepted Answers: 47
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 14
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 12

118

Templates

303072

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us