Roundcube Community Forum

 

Editing specific settings visibility

Started by rcpc, January 21, 2021, 06:30:28 AM

Previous topic - Next topic

rcpc

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

JohnDoh

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...