Creating a Theme

Discussion in 'Tips/Tricks/Mods' started by dclardy, Apr 24, 2012.

  1. dclardy

    dclardy Member

    So I have started creating a theme for ISPConfig, but I am a little lost as to how you change the default theme for the entire installation. When I login, I get to my new theme, but I want to see that in the login screen as well.

    Is that possible?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The default theme is set in the ispconfig configuration file:

    /usr/local/ispconfig/interface/lib/config.inc.php
     
  3. dclardy

    dclardy Member

    Thanks. Is there anyway to not have the top menu/header show up on the main page?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No. The front page is always the complete page, just with different menus.
     
  5. dclardy

    dclardy Member

    Thanks, till.

    Here is the theme that I came up with. I did not do that much different. I just changed some stylings and swapped out some icons.

    [​IMG]

    [​IMG]

    You just have to place it in /usr/local/ispconfig/interface/web/themes.

    To make it the default, you have to do what Till said earlier.

    Read post below.
     
    Last edited: Apr 25, 2012
  6. dclardy

    dclardy Member

    To help me out some, I moved this over to a GitHub Repo. This will help me save some bandwidth on my server. I am note expecting this to be a huge download, but you never know.

    Here is the location of the repo:

    https://github.com/dclardy64/ISPConfig_Clean
     
  7. dclardy

    dclardy Member

    Till,

    Is it possible to throw body classes into the templates? So if they are logging in, the body class would be login and if not it would not contain that class? I am trying to look through the template files, but I am not seeing a way to do this. I think this is because I have limited knowledge of php.
     
    Last edited: Apr 26, 2012
  8. nokia80

    nokia80 Member

    i have download the theme but everything is white something whit owner ship i think?
     
  9. dclardy

    dclardy Member

    Did you keep the same folder name? If you change it, it will break it. The latest version from Github works fine. I am using it at https://server.clardyhost.com:8080
     
  10. nokia80

    nokia80 Member

  11. dclardy

    dclardy Member

    Move that folder to ISPConfig_Clean and that should fix it.
     
  12. nokia80

    nokia80 Member

    works nos ispconfig_clean lol
     
  13. bluebirdnet

    bluebirdnet Member

    what version ISPConfig is this compatible with? I think the template system changed in 3.04?
     
  14. bvbmedia

    bvbmedia New Member

    Sharing themes

    We have customized the default theme of ISPConfig 3.0.5.1.

    Are there folks interested in our theme?
     

    Attached Files:

  15. bvbmedia

    bvbmedia New Member

    Screenshot custom theme - home page

    Screenshot of the home page inside ISPCONFIG.
     

    Attached Files:

  16. bvbmedia

    bvbmedia New Member

Share This Page