Hi, I'm creating a plugin for cPanel and everything is going well so far, except the icon shows up blank.
I created an install.json file with the contents:
Then I created an archive java.tar.gz with the contents
Then I installed the plugin as root
Everything works and the link shows up in cPanel like it's supposed to and it links to the new cPanel page I created, but there isn't an icon next to the "Java" link. It's just blank, or white, or nothing. krydos.example.org/images/java.png The first icon I tried used transparency as the background. krydos.example.org/images/tomcat_48x48.png and I also created one with white as the background in case the transparency was causing issues krydos.example.org/images/tomcat2_48x48.png but that one doesn't work either. I also tried creating a jpeg, but then the plugin installer complains that the icon needs to be .png type.
Any ideas of what to try next?
EDIT:
I posted links to the images so people could view/download them and let me know if they were in the wrong format or something. The other image was a screenshot of what I was trying to describe about the icon being blank. A picture is worth a thousand words, right? It really stifles the troubleshooting process when you break my links.
I created an install.json file with the contents:
Code:
[
{
"icon" : "tomcat_48x48.png",
"group_id" : "software",
"order" : 998,
"name" : "Java",
"type" : "link",
"id" : "java",
"uri" : "java/index.live.php",
"featuremanager" : true,
"feature" : "java",
"description" : "Java Tomcat jsp war deploy"
}
]
Code:
# tar zcvf java.tar.gz install.json install.sh tomcat_48x48.png
install.json
install.sh
tomcat_48x48.png
Code:
# /scripts/install_plugin java.tar.gz --theme paper_lantern
info [install_plugin] Installing to paper_lantern
info [install_plugin] Running sprite_generator
Plugin installed ok
Any ideas of what to try next?
EDIT:
I posted links to the images so people could view/download them and let me know if they were in the wrong format or something. The other image was a screenshot of what I was trying to describe about the icon being blank. A picture is worth a thousand words, right? It really stifles the troubleshooting process when you break my links.
Last edited: