Roundcube Community Forum

 

Hidding sections of settings screens

Started by Omir, May 23, 2014, 07:51:39 AM

Previous topic - Next topic

Omir

Is it possible to hide parts of the settings screens? I've been using

$config['dont_override'] = array('skin', 'identities_level', 'standard_windows');

To hide specific settings, but for example I can't find a way to hide the "Browser Options" section in Preferences > User Interface

JohnDoh

I think the best way to do that is with a plugin using the preferences_sections_list hook. http://trac.roundcube.net/wiki/Plugin_Hooks#preferences_sections_list
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Omir

Thanks, I had gone the route of just using jquery to hide it but the option you suggest seems cleaner