cPanel Theme editing problem
I am editing /usr/local/cpanel/base/frontend/jupiter/tools/index.tt . Here is the code I've edited:
This code is for adding an option in the sidebar. It was supposed to do this in cPanel Frontend UI:
but what it's doing is this:
i.e
is not working. It's working correctly in the whole page but while applying this custom element, it does not work. Anything I am missing from my side? Also, I am sorry for pasting code like this but whenever I use Code option in Editor, it does
[% locale.maketext("SPF and DKIM Records") %]
[% locale.maketext("Click Here") %]
This code is for adding an option in the sidebar. It was supposed to do this in cPanel Frontend UI:
SPF and DKIM Records
Click Here
but what it's doing is this:
SPF and DKIM Records
Click Here
i.e
CPANEL.CPVAR.dprefixis not working. It's working correctly in the whole page but while applying this custom element, it does not work. Anything I am missing from my side? Also, I am sorry for pasting code like this but whenever I use Code option in Editor, it does
-
Hey there! The code editor is a known issue with the software, but unfortunately we aren't able to fix that at this time. I reached out to our user interface team and I'll reply as soon as I have more details. 0 -
I did hear back from the User Interface team and they let me know that editing any of the .tt files is not supported. You're welcome to try as part of your testing, but it may have unpredictable results. The best way to handle interface customizations is through the content includes tool here: Guide to cPanel Interface Customization - Content Includes 0
Please sign in to leave a comment.
Comments
2 comments