Add functionality to sidebar
Hi,
I want to add some custom functionality on the sidebar:
but couldn't find any related information about it.
I see that the template is this:
/usr/local/cpanel/base/frontend/paper_lantern/home/index.tt
but does it get overwritten with cpanel updates?
Thanks,
Ignacio
-
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. Ignacio 0 -
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. 0 -
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: 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.0
Please sign in to leave a comment.
Comments
4 comments