Author Topic: As a hotspot for a plugin?  (Read 727 times)

Offline pyro_fire

  • Newbie
  • *
  • Posts: 5
As a hotspot for a plugin?
« 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?