HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   What is the best way to create themes for ISPConfig? (http://www.howtoforge.com/forums/showthread.php?t=56892)

todx 12th April 2012 21:17

What is the best way to create themes for ISPConfig?
 
Hey guys I've just started developing a new theme for ISPConfig, but everytime I make a change I have to upload the files to an existing site and then via ssh move the uploaded files to the templates dir under ISPConfig web...

My question is, how can I simplfy this process?

Is it possible to upload files via FTP directly to templates dir? If it is, how?

dclardy 12th April 2012 23:03

You can't use FTP to get there from my understanding, but you can use SFTP to get there. You would just need the credentials for the server.

todx 13th April 2012 15:52

Could you elaborate on that...? Any idea on how I can accomplish this?

dclardy 13th April 2012 15:59

SFTP is just a secure protocol that allows you to essentially transfer files through SSH. If you have root access, you can login through an FTP client that supports SFTP on port 22.

When you login, you can see the entire file system of the server, and you can make changes that way. If you wanted you could install notepad++, and you could just edit the files directly on the server.

todx 13th April 2012 16:03

I have Notepad++, and this sounds interesting, how can I do this?

till 13th April 2012 16:08

Download winscp which is a free scp / sftp client and use it to connect to your server as root user.

dclardy 13th April 2012 16:13

Quote:

Originally Posted by todx (Post 277389)
I have Notepad++, and this sounds interesting, how can I do this?

On the toolbar, click PLugins -> NppFTP -> Show NppFTP Window.

When you click that, it should show you the window to configure your settings on the right hand side of the editor. Click the wheel/cog to set the settings. Enter all your information select sftp and connect.

todx 13th April 2012 17:37

Quote:

Originally Posted by dclardy (Post 277392)
On the toolbar, click PLugins -> NppFTP -> Show NppFTP Window.

When you click that, it should show you the window to configure your settings on the right hand side of the editor. Click the wheel/cog to set the settings. Enter all your information select sftp and connect.

Amazing! Works like a charm, thanks!!

dclardy 17th April 2012 21:47

Glad that it works for you. I hope you create a good theme!

mmidgett 19th April 2012 23:52

Just remember when your done to block ssh root access. No forward facing server should ever allow root logins via ssh. CentOs does by default but should be disabled.


All times are GMT +2. The time now is 04:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.