Plugin Development


Is it enough to follow this tutorial to get a simple plugin which saves a "title" and "description" information installed?

It doesn't look like it as I have followed the steps and enabled the plugin but
1. it isn't available through the Tools menu
2. even accessing it like in the url such as ".../pg/plugin/<myuser>" is forwarding me to the dashboard.

How can I get going with this plugin development?

  • Answering myself regarding point 1 - I see that it's possible to add it to the Tools menu via the add_menu() function where I specified the url to be "$CONFIG->wwwroot . "pg/plugin/"  . $_SESSION['user']->username

    Still, accessing it results in a redirection to the dashboard page.