PHP Plugin not loading in header
I created my first WHM plugin today (in PHP) which fundementally works perfectly, however, the plugin does not appear to load into the WHM wrapper. I have used the sample PHP code that is is supposed to load the header / footer but only the footer appears to work. There is simply no header included, only my HTML and then a couple of additional divs which I presume is related to the footer.
What am I doing wrong? The require_once definately loads as the footer output is displayed, just not the header.
// MY HTML TEMPLATE DISPLAYS HERE
-
Hello, Which version of cPanel & WHM are you testing on? 0 -
Hi Kenneth, v68.0.26 Out of curiousity, can we get a development license? We're currently making changes to a live server which is less than ideal. 0 -
Thank you for the recommendation, we got a dev license :) Back to the actual issue, anyone able to give some guidance as to what I'm doing wrong? 0 -
Hello, This matches how the instructions we provide in our documentation. In addition to clearing your browser cache, try running the following command to see if it helps:mv /var/cpanel/caches/_generated_command_files{,.backup}
If not, feel free to open a support ticket so we can take a closer look. Thank you.0
Please sign in to leave a comment.
Comments
5 comments