I want to don't display some item on settings block.

I want to don't display some item on settings block.

by Manh VU -
Number of replies: 1

Hi All,

I am Mike, I am  a begin moodle developer.

I am trying to remove some item form settings block and profile setting.

Example: blog on my profile, langgua on settings block. Because I want to my client can't  see anything that is not necessary.


Please help me do that

Thanks


Average of ratings: -
In reply to Manh VU

Re: I want to don't display some item on settings block.

by Franco Pantoja -
Picture of Particularly helpful Moodlers

Hi Manh

You should use the file lib/navigationlib.php where you will find the functions that return the items in order of roles and context

e.g. protected function generate_user_settings($courseid, $userid, $gstitle='usercurrentsettings')

Regards!!