What is the best way to create themes for ISPConfig?

Discussion in 'General' started by todx, Apr 12, 2012.

  1. todx

    todx Member

    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?
  2. dclardy

    dclardy Member

    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.
  3. todx

    todx Member

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

    dclardy Member

    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.
  5. todx

    todx Member

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

    till Super Moderator Staff Member ISPConfig Developer

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

    dclardy Member

    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.
  8. todx

    todx Member

    Amazing! Works like a charm, thanks!!
  9. dclardy

    dclardy Member

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

    mmidgett Member

    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.
  11. todx

    todx Member

    How do I block root ssh access?
  12. falko

    falko Super Moderator ISPConfig Developer

    You can configure this in /etc/ssh/sshd_config.

Share This Page