To add a icon, copy an image file to the workflow/engine/plugins/extraFunctions/public_html/ directory. If using a Linux system, make sure that the file is readable by all users. For example:
workflow/engine/plugins/extraFunctions/public_html/Audit.png
Then, edit the
workflow/engine/plugins/extraFunctions/classes/class.pmFunctions.php file and set the header like this:
Code: Select all/**
* Extra Functions
* @class extraFunctions
*
* @name Extra Functions
* @icon /plugin/extraFunctions/Audit.png
* @className class.extraFunctions.pmFunctions.php
*/
Now the icon will appear next to the plugin's name in Trigger wizard:
iconForExtraFunctionsPlugin.png (7.66 KiB) Viewed 4049 times
Note: Any files that you add to your plugin's public_html folder will accessible from the following URL in the web:
http:/{processmaker-ip-or-domain}/plugin/{plugin-name}/{path-to-file-in-public_html}
For example:
Code: Select allhttp://processmaker.example.com/plugin/extraFunctions/Audit.png