General developer forum

How to remove user's field when creating or editing users' profile

 
Picture of ray cheng
回應: Re: Odp: Re: Odgovor: Re: How to remove user's field when creating or editing users' profile
 

Hi Jon,

Can you tell how to hide "User Picture" section?

Also in my moodle version 3.3, 

div#fitem_id_timezone  {display: none;}
cannot hide the time zone field.

Thanks for your time
Ray

 
Average of ratings: -
Picture of Phuong Hoang
Re: 回應: Re: Odp: Re: Odgovor: Re: How to remove user's field when creating or editing users' profile
Particularly helpful Moodlers

Hi Ray,

To hide User picture, try this

fieldset#id_moodle_picture {display: none;}

To hide Timezone

div#fitem_id_timezone {display: none;}

- It works. Check your space (single space)

If necessary, Purge all caches


 
Average of ratings: -