WHM plugin Creation
Hello All,
I have been trying to create a test WHM plugin. While creating the The AppConfig Configuration File for the plugin, I noticed one parameter named "
entryurl ". Could any one please describe what it is, with an example ?
I already read below link and didn't understand what should be the path we give for this parameter? and is this necessary while creating the appconfig configuration file ?
Guide to AppConfig - The AppConfig Configuration File - Software Development Kit - cPanel Documentation
-
Hello :) Here's how our documentation explains it: Description: The URL to use to enter the application through WHM. If you use this key, WHM automatically creates a link to the application from the WHM interface.
Possible value: The path to the application, relative to the /var/cpanel/apps/ directory.
Example: addons/example/index.cgi
Thus, if the application was stored in /var/cpanel/apps/addons/example/index.cgi then you would use this entry:addons/example/index.cgi
Thank you.0 -
hi, I registered the plugin using the appconfig.After that if I click the plugin icon from WHM I am getting below error. Any suggestions? --------------------------------------------------------------------------- HTTP error 404 The requested page was not found. Possible reasons why you are seeing this page: [LIST] - A bookmarked URL may have changed since you last visited.
- The URL was entered incorrectly.
- The URL was entered with inaccurate capitalization (URLs are case sensitive). Please re-check the URL you are trying to reach. (Go Back) --------------------------------------------------------------------------------------------------- I copied my sample.cgi script to /var/cpanel/apps/ directory and plugin icon sample.gif to /usr/local/cpanel/whostmgr/docroot/addon_plugins. Below are my appconfig entries. ------------------------------------------ name=sample service=whostmgr user=root url=sample.cgi acls=any displayname=Sample - sample entryurl=sample.cgi icon=sample.gif -------------------------------------------
0 -
The following threads offers a more detailed guide to creating a plugin, with examples: How to create a Plugin (WHM & cPanel) Could you let us know if this helps you to install the plugin? Thank you. 0 -
I already refereed that thread. Should I open a ticket? 0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments