On Sep 27, 2013, at 12:58 PM, "A.L.E.C" <[email protected]> wrote:

> On 09/27/2013 12:46 PM, Cor Bosman wrote:
>> Im kind of stuck there.
> 
> If you want an entry in Settings block/list you're on your own, you need
> to create templates, hooks for other plugins, etc. However, if you just
> decide to create entries in Settings > Preferences, you have everything
> built in preferences_list and preferences_sections_list hooks.

Can't this be improved in the future? Is there a reason we cant add a settings 
block through a hook in PHP? And then have the settings code allow you to add 
sections to any settings block, including settings blocks added by plugins?

And even better, allow you to specify that a settings section is a 'basic' 
section, where save-prefs is used, or an 'advanced' section, where you provide 
your own save/edit handlers.

Cor

_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to