Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Omir on July 31, 2014, 07:45:16 AM

Title: Adding custom screens to roundcube
Post by: Omir on July 31, 2014, 07:45:16 AM
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
Title: Re: Adding custom screens to roundcube
Post by: JohnDoh on July 31, 2014, 08:46:57 AM
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.