Hey there! It would likely be best to start working on customizations in the Jupiter theme, as we do plan to deprecate Paper Lantern in the near future. Details on how to perform that work for a plugin can be found here:
With its world-class support and rich feature set, cPanel & WHM has been the industry-leading web hosting platform for over 20 years. Trusted worldwide by our technology partners WordPress, CloudLinux, LiteSpeed, and more.
api.docs.cpanel.net
and details on the interface in general can be found here:
With its world-class support and rich feature set, cPanel & WHM has been the industry-leading web hosting platform for over 20 years. Trusted worldwide by our technology partners WordPress, CloudLinux, LiteSpeed, and more.
Thanks @cPRex , but how can I add a button (like nginx's "clear cache") or additional information (like Cloudlinux does with inodes) into the sidebar specifically? Using jQuery perhaps?.
In that case, how can I insert jquery code to be executed in the home page? we did this using UI includes in Paper Lantern but I can't find UI includes in Jupiter.
The team is actually working on such a functionality literally as we speak, which will allow for UI includes in Jupiter. I can't say exactly when that will get implemented, but we are hoping this gets added before the software is moved to the Release tier.
Update - if you add the data to /var/cpanel/customizations/content_includes/ those will not get overwritten, and will get added to the sidebar. For example, I created the following file:
cpanel_jupiter_tools_stats_before.html.tt
and the user interface then updated to look like this:
Code:
Server Information
testing
Statistics
Disk Usage
42.28 GB / ∞
I'm not sure if that is exactly what you're looking for, but let me know if you have any questions.