imorandin

Active Member
PartnerNOC
Nov 20, 2014
25
5
53
cPanel Access Level
DataCenter Provider
Hi,

I want to add some custom functionality on the sidebar:

1645563297747.png

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
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
9,867
1,535
313
cPanel Access Level
Root Administrator
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:


and details on the interface in general can be found here:

 

imorandin

Active Member
PartnerNOC
Nov 20, 2014
25
5
53
cPanel Access Level
DataCenter Provider
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
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
9,867
1,535
313
cPanel Access Level
Root Administrator
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.