Control Web Panel

Developers => New Modules => Topic started by: greenkey on January 28, 2016, 12:32:42 PM

Title: Cool file manager
Post by: greenkey on January 28, 2016, 12:32:42 PM
I choose this file manager as best solution - http://cloudcmd.io/, and find the way to use it through CWP.
1) Install Modejs with npm.
2) Install by npm cloudcmd and forever.
3) Create modules to start and stop cloudcmd as daemon.
4) Add this modules to CWP menu.

Now, i can start this manager, open to manage files, and stop when i don't need it.
Title: Re: Cool file manager
Post by: Luisfm on September 16, 2016, 10:21:25 AM

3) Create modules to start and stop cloudcmd as daemon.
4) Add this modules to CWP menu.


And how can do this 2 last steps?
Title: Re: Cool file manager
Post by: darkness on March 09, 2017, 05:34:23 PM
To set up modules to start with CentOS:
 <code>chkconfig module_name on</code>
To add it on the CWP menu you need this:
 Open /usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php and put inside:
<code><li><a href="index.php?module=module_name"><span class="icon16 icomoon-icon-arrow-right-3"></span>Module Name</a></li></code>

I assume that you have module_name.php in /usr/local/cwpsrv/htdocs/resources/admin/modules
If not - put it there.