What needs to be changed in a theme, 3.0.4->3.0.5

Discussion in 'Tips/Tricks/Mods' started by Andtalath, May 23, 2013.

  1. Andtalath

    Andtalath New Member

    Hello all!

    I need to adapt a theme from 3.0.4 to 3.0.5 and I'm not even certain where to begin.
    The weird part is that if I go into tools-interface and change to theme it works until I login (haven't tried everything, but most things do seem to work) when it states that it is not compatible.

    I'd love some documentation and I'd love some quick way to just change the parameters in the theme.

    I wasn't the designer of the original theme, it was my predecessor.

    I'm a novice on php/html/css/jquery but I've dabbled with it through the years, but I'm a full time techie, so I'm not afraid to learn stuff naturally.
  2. dclardy

    dclardy Member

    You have to add an ispconfig_version file to the theme. A lot of the other template files have changed as well, but the error that you are seeing is due to you not having that file. you need to place the version of ISPConfig that your theme is compatible with.


    That is an example of the file. Very simple. - Checks for a different file name though. You can see both files in my theme.
  3. Andtalath

    Andtalath New Member

    Ah, great!
    Thank you very much.

    I assume you can enter several lines as a way to show several versions that are compatible as well?
  4. dclardy

    dclardy Member

    I am not real sure on that part to be honest. I just update mine to be the latest. You can look for the function in ISPConfig though.
  5. Andtalath

    Andtalath New Member

    The answer seems to be that you can't put several lines in it.

    Oh well, thanks anyhow!
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Currently it supports only one line. But extending the version parser to support multiple lines is a nice idea.
  7. Andtalath

    Andtalath New Member

    Hehe, happy to of service ;)

    Just seems like the logical thing to me.

Share This Page