Cool file manager

Started by greenkey, January 28, 2016, 12:32:42 PM

Previous topic - Next topic

greenkey

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.

Luisfm

Quote from: greenkey on January 28, 2016, 12:32:42 PM

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?

darkness

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.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...