Roundcube Community Forum

 

Adding custom screens to roundcube

Started by Omir, July 31, 2014, 07:45:16 AM

Previous topic - Next topic

Omir

I'm writing a plugin to add a button to the toolbar which will take a user to a new screen I'm creating to manage server side mail forwarding rules.

My question is does there always need to be a "task"? Should I set the href of the button to be:

http://roundcube/?_action=plugin.emailrules.forwarding

Or does it need to be like:
http://roundcube/?_task=mail&_action=plugin.emailrules.forwarding

JohnDoh

The _task variable describes the section the system is in.... mail, settings etc. It triggers the loading of the section specific resources. Plugins can also register their own tasks.

From your description it sounds like your plugin would go into the settings section.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...