ISPConfig3 theme

Discussion in 'Tips/Tricks/Mods' started by Snaki4, Sep 19, 2013.

  1. Snaki4

    Snaki4 New Member

    Good afternoon,

    I'm trying to do some modifications for the theme in ISPConfig3, but what I can see, that even if I did change (if statements) inside main.tpl, they will not work until Ctrl+F5.

    As far as I can see from code, main.tpl is using only once by index.php.

    Can somebody suggest/help how to trigger to load this tpl again?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The interface is ajax based, so you have to relaod the site in your browser when you change a theme to see the changes.
  3. almere

    almere Member HowtoForge Supporter


    Do you think it's possible to transfer ISPConfig to non-ajax based interface ?
  4. Snaki4

    Snaki4 New Member

    Yes, I saw that it's ajax based, issue is that when interface were firstly loaded into your browser, it will not not show any changes anymore. It's just inserting required data into predefined from scratch tags, so even if we did "if" in tmpl or something like that it will never work since main.tpl will never read anymore (after first read).

    Ok, will try to force reload via ajax.

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    No, not without writing a complete new interface.

Share This Page