Roundcube Community Forum

 

As a hotspot for a plugin?

Started by pyro_fire, January 28, 2022, 10:04:10 AM

Previous topic - Next topic

pyro_fire

For study purposes I made a very simple plugin, which displays only one button on the screen, but I can't make this plugin work correctly.

In my class I did the following:
public $task = 'settings';

Doing this when clicking on the settings menu it loads the plugin, but I lose all the settings menu.

For me the ideal scenario would be to make the plugin load when accessing something similar to this:
/?_taks=settings&_action=plugin.myplugin

But I couldn't find any reference on how to do this correctly.

Could anyone help?