Anton-Vodien

Registered
Nov 13, 2017
3
0
1
Philippines
cPanel Access Level
Root Administrator
As the title states I'm trying to add a custom javascript code. into my cpanel. I've managed to do it by creating global_footer.html.tt under /var/cpanel/customization/includes.

It's working great in my cPanels however when I view a mail interface in Webmail my custom script doesn't get included there. What am I missing and how should I approach this.

Thanks in advance!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

I can confirm that using a global header or footer include (e.g. global_footer.html.tt) within the /var/cpanel/customizations/includes/ directory does not apply to the webmail selection page. I'm researching this further and will update you with more information shortly.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

To update, I've confirmed that we don't currently support UI includes in the webmail interface. I encourage you to open a feature request for the inclusion of webmail as a UI include point:

Submit A Feature Request

Thank you.
 

Anton-Vodien

Registered
Nov 13, 2017
3
0
1
Philippines
cPanel Access Level
Root Administrator
Hello,

I can confirm that using a global header or footer include (e.g. global_footer.html.tt) within the /var/cpanel/customizations/includes/ directory does not apply to the webmail selection page. I'm researching this further and will update you with more information shortly.

Thank you.
I see is there available option for me to add some javascript code in their aside from modifying core files?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hi @Anton-Vodien,

We don't support UI includes of any type in the webmail interface. It looks like you replied to my initial response. Here's the second one in-case you missed it:

Hello,

To update, I've confirmed that we don't currently support UI includes in the webmail interface. I encourage you to open a feature request for the inclusion of webmail as a UI include point:

Submit A Feature Request

Thank you.
Thanks.