Author Topic: Editing specific settings visibility  (Read 1019 times)

Offline rcpc

  • Newbie
  • *
  • Posts: 1
Editing specific settings visibility
« on: January 21, 2021, 06:30:28 AM »
Hello everybody, I'm trying to hide (or even remove, where possible) both composing and contacts settings, but unfortunately, I'm unable to do so even after extensively playing with the documentation listed hooks.
May I have some guidance on how to implement such a solution?

Thanks in advance

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,657
Re: Editing specific settings visibility
« Reply #1 on: January 21, 2021, 12:53:47 PM »
you can use the plugin hook `preferences_sections_list` or you can add any settings you don't want users to have access to to your `dont_override` config setting. If you add all configs from a section then that section will not be displayed.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦