Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Omir on May 23, 2014, 07:51:39 AM

Title: Hidding sections of settings screens
Post by: Omir on May 23, 2014, 07:51:39 AM
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
Title: Re: Hidding sections of settings screens
Post by: JohnDoh on May 24, 2014, 11:36:22 AM
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
Title: Re: Hidding sections of settings screens
Post by: Omir on June 02, 2014, 11:46:02 AM
Thanks, I had gone the route of just using jquery to hide it but the option you suggest seems cleaner