Skip to main content

WHM plugin Creation

Comments

5 comments

  • cPanelMichael
    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
  • minosjl
    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
  • cPanelMichael
    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
  • minosjl
    I already refereed that thread. Should I open a ticket?
    0
  • cPanelMichael
    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.