Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: pyro_fire on January 28, 2022, 10:04:10 AM

Title: As a hotspot for a plugin?
Post by: pyro_fire on January 28, 2022, 10:04:10 AM
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:
Code: [Select]
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?