Skip to main content
Version: 2.0.31

How to White-Label and Rebrand the Control Panel

Everything in OpenPanel is modular and can easily be modified or disabled without breaking the rest of the functionalities.

To customize OpenPanel, you have the following options:

Personalized messages​

Administrators can set a custom message to be displayed for any OpenPanel user from their OpenAdmin > Accounts > Users page.

custom img

Enable/disable features​

Administrators have the ability to enable or disable each feature (page) in the OpenPanel interface per plan or per-user base: modules are turned on or off server-wide from OpenAdmin > Settings > Modules and per plan with the Feature Manager.

Once enabled, the feature becomes instantly available to all users, appearing in the OpenPanel interface sidebar, search results, and dashboard icons.

Set pre-installed services​

OpenPanel uses compose files as the base for each user. Based on the container images in those compose files, different services can be set per plan/user.

Localize the interface​

OpenPanel is localization ready and can easily be translated into any language.

OpenPanel is shipped with the EN locale, additional locales can be installed, edited or created by the Administrator from OpenAdmin > Settings > Locales or with opencli locale.

Set custom branding​

Custom brand name and logo can be set from OpenAdmin > Settings > OpenPanel page.

To set a custom name visible in the OpenPanel sidebar and on login pages, enter the desired name in the "Brand name" option. Alternatively, to display a logo instead, provide the URL in the "Logo image" field and save the changes.

Customize Templates​

You can customize all templates that are displayed to users, from OpenAdmin > Domains > Domain Templates:

Set a custom color scheme​

To set a custom color-scheme for OpenPanel interface, add your CSS in OpenAdmin > Settings > Custom Code > Custom CSS, or edit the /etc/openpanel/openpanel/custom_code/custom.css file directly:

nano /etc/openpanel/openpanel/custom_code/custom.css

OpenPanel reads the file when it starts, restart it to apply changes:

podman restart openpanel

Example:

custom_css_code

Replace How-to articles with your knowledge base​

OpenPanel Dashboard page displays How-to articles from the OpenPanel Docs, however these can be changed to display your knowledgebase articles instead.

Edit the file /etc/openpanel/openpanel/conf/knowledge_base_articles.json (also editable in OpenAdmin > Settings > Custom Code) and in it set your links:

{
"how_to_topics": [
{"title": "How to install WordPress", "link": "https://openpanel.com/docs/panel/applications/wordpress#install-wordpress"},
{"title": "Publishing a Python Application", "link": "https://openpanel.com/docs/panel/applications/python#create-an-application"},
{"title": "How to edit Nginx / Apache configuration", "link": "https://openpanel.com/docs/panel/webserver/webserver_settings"},
{"title": "How to create a new MySQL database", "link": "https://openpanel.com/docs/panel/mysql/new_db"},
{"title": "How to add a Cronjob", "link": "https://openpanel.com/docs/panel/cronjobs#add-a-cronjob"},
{"title": "How to enable Redis caching", "link": "https://openpanel.com/docs/panel/caching/Redis"}
],
"knowledge_base_link": "https://openpanel.com/docs/panel/intro/?source=openpanel_server"
}

Add custom CSS or JS code​

Custom code is available on the Enterprise edition and is managed from OpenAdmin > Settings > Custom Code, which saves it to the files below. OpenPanel loads them when it starts, so run podman restart openpanel after editing the files by hand.

To add custom CSS code to the OpenPanel interface, edit the file /etc/openpanel/openpanel/custom_code/custom.css:

nano /etc/openpanel/openpanel/custom_code/custom.css

To add custom JavaScript code to the OpenPanel interface, edit the file /etc/openpanel/openpanel/custom_code/custom.js:

nano /etc/openpanel/openpanel/custom_code/custom.js

To insert custom code within the <head> tag of the OpenPanel interface, modify the content of the file located at /etc/openpanel/openpanel/custom_code/in_header.html and include your custom code within it:

nano /etc/openpanel/openpanel/custom_code/in_header.html

To insert custom code within the <footer> tag of the OpenPanel interface, modify the content of the file located at /etc/openpanel/openpanel/custom_code/in_footer.html and include your custom code within it:

nano /etc/openpanel/openpanel/custom_code/in_footer.html

Custom dashboard section and welcome email​

From OpenAdmin > Settings > Custom Code you can also add a custom section to the OpenPanel Dashboard and set the welcome email sent to new users.

Customize Email templates​

See Customizing OpenAdmin Email Templates.