Important!
This documentation has been deprecated. We are migrating Oempro help articles to our new help portal. Take a look at more detailed help articles on our new help portal.
Sections:
Oempro has a powerful extendability feature that lets you to add new plug-ins into Oempro. You can almost develop any kind of plug-ins for Oempro and extend feature set a lot more based on your needs. SMS sending, reminder, survey, RSS fetching, translator plug-ins are examples to currently available Oempro plug-ins. Click here to browse currently available and officially provided Oempro plug-ins.
Plug-in development requires basic functionality of Oempro and PHP programming. If you wish to see a new plug-in hook or functionality, do not hesitate to contact us anytime.
In this section, we described how to create a basic plug-in that allows you to add a new feature into Oempro.
We strongly recommend you to choose a unique name that describes what your plug-in does. Click here to browse officially promoted Oempro plug-ins to get an idea.
Once you decided a name for your plug-in, it's time to create the plug-in directory and put mandatory files inside the directory. For instance, you have named your plug-in "Great Plug-In", the plug-in directory name can be "great_plugin". Create "great_plugin" directory under oempro/plugins/ directory. The path of our new plug-in will be similar to the following one:
/path/to/oempro/plugins/great_plugin/
Next step is to create the main class file which will perform major operations such as plug-in enable/disable actions. Create a new file under your great_plugin directory. The file name must be example same with the plug-in directory name with a file extension '.php'. In our example, it should be:
/path/to/oempro/plugins/great_plugin/great_plugin.php
That's all for the beginning.
Stay connected!