Plugin registration to DirectAdmin

opsshield

Verified User
Joined
Jul 3, 2019
Messages
14
Hello All,

We are trying to integrate our software to DA as plugin and works similar to what we do in cPanel. We have been working on it over a week and unable to sort out a few things as we cannot find proper docs for them. One of the importatnt things we are stuck with is, we want to load index.raw file by default when admin clicks on the plugin option [ exactly same as how Softaculous Plugin works ]. We tried multiple options but nothing worked for us. So anyone here can give us proper directions to load index.raw file by default in the plugin?

Thanks in advance,
Kala.
OpsShield.
 
Hello All,

We are trying to integrate our software to DA as plugin and works similar to what we do in cPanel. We have been working on it over a week and unable to sort out a few things as we cannot find proper docs for them. One of the importatnt things we are stuck with is, we want to load index.raw file by default when admin clicks on the plugin option [ exactly same as how Softaculous Plugin works ]. We tried multiple options but nothing worked for us. So anyone here can give us proper directions to load index.raw file by default in the plugin?

Thanks in advance,
Kala.
OpsShield.


Q: Is there any documentation for plugin development?

A: Yes, please check the following: https://help.directadmin.com/item.php?id=290. I'd suggest checking http://www.custombuild.eu/plugin/custombuild.tar.gz as the example of real-world plugin as it has native Vue integration with Evolution skin DirectAdmin also supports "widgets" and "widget-only" plugins. "Vue widget only" example https://forum.directadmin.com/showthread.php?t=57994. Another example without vue (displayed as iframe): https://forum.directadmin.com/showthread.php?t=43292.
 
We use demo plugin as base

Q: Is there any documentation for plugin development?

A: Yes, please check the following: https://help.directadmin.com/item.php?id=290. I'd suggest checking http://www.custombuild.eu/plugin/custombuild.tar.gz as the example of real-world plugin as it has native Vue integration with Evolution skin DirectAdmin also supports "widgets" and "widget-only" plugins. "Vue widget only" example https://forum.directadmin.com/showthread.php?t=57994. Another example without vue (displayed as iframe): https://forum.directadmin.com/showthread.php?t=43292.

Thanks much for the quick response. We are actually using the demo plugin as base and checked custom build app also...but so far we do not get any cluse to set how "indexraw" should load by default like Softaculous plugin. We are new to DA and struggling to figure this out. If you check the direct link of Softacuolos from DA admin, you can see it is pointing to index.raw where others are loading index.html as default. We need to do same and open it in out of DA skin but could not find any information how to do it..is it in the configuration or in the plugin code? We are open pay if someone can assist us on this.
 
URL for the 'index' page is set in hooks/admin_txt.html & hooks/admin_img.html, if that's an URL for reseller/user level, just replace admin with reseller/user​.
 
URL for the 'index' page is set in hooks/admin_txt.html & hooks/admin_img.html, if that's an URL for reseller/user level, just replace admin with reseller/user​.

Yes, that is exactly we are looking for past 2 days :) Thanks much @smtalk for your valuable time and comment..much appreciated.

@realitsolution - thanks for your time and response!
 
Back
Top