I looked into tutorial and I see that plugin name is bond to folder name. I want to make 2 disk plugins to show different mount points each.
a) I copied existing diskspace > diskspace2 folder.
b) I found 2 locations where "diskspace" was hardcoded and change them too
init.js
url : "plugins/diskspace2/action.php",
lang/en.js
thePlugins.get("diskspace2").langLoaded();
Plugin loads fine but there is nothing in status bar. If I revert everything to "diskspace" plugin works. Is there any other hard coded location where diskspace is mentioned or way to solve this problem ?
Kind Regards,
torrentfun
a) I copied existing diskspace > diskspace2 folder.
b) I found 2 locations where "diskspace" was hardcoded and change them too
init.js
url : "plugins/diskspace2/action.php",
lang/en.js
thePlugins.get("diskspace2").langLoaded();
Plugin loads fine but there is nothing in status bar. If I revert everything to "diskspace" plugin works. Is there any other hard coded location where diskspace is mentioned or way to solve this problem ?
Kind Regards,
torrentfun