Add JS/CSS scripts to cPanel theme
Is it possible to modify cPanel theme for adding custom JS or CSS scripts to the header or the footer of the cPanel theme.
One of the purpose of doing this would be adding Google Analytics javascript or web site metrics.
I read that it could be possible by cloning the theme and modify and upload a new one with the modified version. The downside would be that we have to do cloning, modifiying and uploading the theme each time that the original theme has a fix.
The branding section of the WHM only allows changing very limited area of the cPanel.
-
I've found what I was looking for: has answered my questions. Awesome! 0 -
Hello :) I am happy to see you were able to find answers to your questions. Thank you for updating us with the outcome. 0 -
In this scenario, definitely don't maintain your own fork of Paper Lantern as that would mean that you'd be taking on all of the responsibility for keeping the UI up to date and secure. Instead, yeah, utilize the global_footer.html.tt UI Include to include your own content (in this case the 0
Please sign in to leave a comment.
Comments
3 comments