How to create a plugin?
GenIE-Sys plugin can start as a simple file with a PHP function. All plugins are being installed in /geniesys/plugins
. The only requirement for a plugin is that the folder name has to be the same as the menu name and index.php
file should be available inside the plugin folder to initialize the plugin.
Hello World! Plugin
Creat hello directory inside the plugin directory
Place following index.php file inside hello directory
3.) Add tool.php into the hello_world directory. tool.php
file will be used to write all the function related to the plugin.
4.) Log into the system and add hello into the menu like shown in following figure.
5.) Navigate to http://[server name]/geniesys/hello
More details about the GenIE-Sys API is available on https://api.plantgenie.org
Last updated