Guide to rebranding control panel

Discussion in 'Tips/Tricks/Mods' started by Korsch, Oct 24, 2023.

  1. Korsch

    Korsch New Member

    I just wanted to give a quick tutorial on how to rebrand your ISPConfig control panel, I will say I do support the team here and this isn't a "must do" I just like the professionalism of having custom branding.
    Im using a text based logo for my site but any image will work as long as you're within I think 225 x 60 dimensions.
    Prepare Your Base64-Encoded Logo
    You should have your logo image encoded in base64 format I used https://www.base64-image.de/ for this step, drop you image and copy and save the code for later
    Access the Database
    Your going to want to get into you database associated with ISPConfig install via
    Code:
    mysql -u db_user -p db_name
    followed by the password for this, if youre unsure of these details they are located in your config.inc.php file at
    Code:
    /usr/local/ispconfig/server/lib/
    And should look little like this
    Code:
    //** Database
    $conf['db_type'] = 'mysql';
    $conf['db_host'] = 'HOST';
    $conf['db_port'] = 'PORT';
    $conf['db_database'] = 'DB_NAME';
    $conf['db_user'] = 'DB_USER';
    $conf['db_password'] = 'DB_PASSWORD';
    Insert Encoded Logo
    Once you've successfully logged into you mySQL database associated with you ispconfig install you'll want to run
    Code:
    UPDATE sys_ini SET custom_logo = 'ENCODED_LOGO_HERE';
    after updating exit mySQL.
    Clear cache and restart Nginx or Apache and you should be set.

    Im not sure if tutorials are allowed here but I know I had trouble with this for the longest time and there weren't a lot of google results so if this can help someone then thats great.
     
    Th0m, ahrasis and till like this.

Share This Page