Creating a plugin for The Secretary is a very simple and straightforward process. You are not required to write any special code to get your plugin working with the system, and as such, can write in your own programming style. Plugin development is very freeform, making it quick and easy.
In it's simplest usage, the ''hook()'' function takes two parameters:
''**anchor name**'' - the anchor you would like to hook into
''**function name**'' - the name of your function that will perform whatever tasks it needs to
Let's create a super simple plugin that will add a message to the top of every page in the backend:
Hello you!';
}
?>
Save the file as "sayhello.plugin.php" and upload it to the "plugins" folder. Login to the backend and say "Hello!".
===== Related Pages =====
* [[extend:plugins:advanced-plugins|Advanced Plugins]]
* [[extend:plugins:anchors|List of anchors]]
* [[documentation|Code Documentation]]