I wish to develop something like Fantastico for my clients. I have access to SSH root ect.. I am having issues though understanding since it seems very crossed up in the documentation. Some say use PHP some say use Perl I've read Ruby on Rails.. I think PHP is prefered for these type of things but not sure.. anyways..
I would consider using the Install File Generator for the custom cPanel Plugin via the following resource:
cPanel Plugins - Developer
Using the the Install File Generator for the cPanel Plugin one can define an access URL for the custom software; this is normally relative to the theme directory (e.g,. relative to "
/usr/local/cpanel/base/frontend/<theme_name>/"). The access URL might involve a path that uses a symlink to point back to the installation directory for the custom software (e.g., such as a new custom directory within "/usr/local/cpanel/3rdparty/").
As an example, here is what I see used by Fantastico, that of using a symlink within the theme directory that points back to the install path:
Code:
# stat /usr/local/cpanel/base/frontend/x3/fantastico | head -n1
File: `/usr/local/cpanel/base/frontend/x3/fantastico' -> `/usr/local/cpanel/3rdparty/fantastico'
Another example, as seen by a different third-party product, also makes use of a symlink pointing back to the install directory, but here the symlink is in a different path that is still accessible while logged-into cPanel, as seen below:
Code:
# stat /usr/local/cpanel/base/3rdparty/example | head -n1
File: `/usr/local/cpanel/base/3rdparty/example' -> `/usr/local/cpanel/3rdparty/example'
The custom software installer that you would develop should handle the process of registering the cPanel Plugin and also rebuilding icon sprites as detailed in the documentation; for more verbose details and information regarding the install process of a cPanel Plugin please refer to the following documentation:
cPanel Plugins Installation Instructions