How to inject .js/.css into every page.

Discussion in 'Plugins/Modules/Addons' started by Rudolf Leermakers, Feb 17, 2020.

  1. Rudolf Leermakers

    Rudolf Leermakers New Member

    Hi,

    We are renting a few servers using ISPconfig. I have made a piece of JS which helps adding a new website. It remembers selected server/users etc through each step of add new website > new DB user > new DB > new FTP user. Right now I add it into the dashboard with a Google Chrome plugin, but I would like to add into the ISPconfig installation if possible. Any recommendations on how to do this?

    I need to include a .js + .css file into every page of the ispconfig dashboard/backend.

    greetings, Rudolf Leermakers
     
  2. Steini86

    Steini86 Active Member

    In general or in your installation only? You can suggest your changes in the GIT: https://git.ispconfig.org/ispconfig/ispconfig3
    If it is only for you, I would copy the theme and create a new one with your changes. This will survive updates then. Have a look at
    /var/www/ispconfig/themes
    Search the forum for "theme", there are some helpful ressources
     
    ahrasis likes this.

Share This Page