Using iTop

Creating your iTop

iTop Customization

"How to" examples

User Interface

Automation & Ticket management

Portal Customization

:: Version 3.2.0 ::

Portal: How to change the Bootstrap theme

In this How to, the default portal bootstrap theme (Combodo's) will be replaced with another found online.

How to change Bootstrap theme
How To
Administrator, Integrator, Developer
Portal, Customization
iTop version:


What you will need to:

  • Know how to make an iTop extension and upgrade your system,
  • Have an iTop system with the demo data and the enhanced portal installed,
  • Have access to an account with enough rights to connect to the portal (usually this means having the Portal User profile).

Aim of this tutorial

In this tutorial, you will learn how to:

  • Change the portal bootstrap theme in order change its look and feel, as show in multiple screenshots below:

 Multiple Bootstrap themes

Step by step instructions

Creating the extension

First, we need to create an iTop extension that will alter the portal XML configuration to define which theme to use. Check the Extension modules part from the customization guide (iTop Customization) if necessary.

  1. Name the extension as sample-portal-new-theme.
  2. Remove the main.sample-portal-new-theme.php file as we won't need any PHP code.

You should have the following structure:  Module structure

Choosing a new theme

Now that the extension is made, we need to get a new Bootstrap theme that will replace the Combodo one. For our example we will use Simplex from but you can use any theme as long as it is compatible with Bootstrap 3.

Go to, download the precompiled css file and put it into the folder of the new extension.

You should have the following structure:

Please note that a Bootstrap template is not the same as a Bootstrap theme. a Bootstrap template is more complex as it changes not only the CSS styles but also the HTML markup. For information about how to use a new Bootstrap template for your portal, check this other sample extension (FIXME)

Changing the portal configuration

Now that we have the new theme, we just need to make an XML delta and change the portal configuration to use it. Open the datamodel.sample-portal-new-theme.xml file and paste the following code:

<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="" version="1.3">
    <module_design id="itop-portal" xsi:type="portal">
          <theme id="bootstrap" _delta="define_if_not_exists">sample-portal-new-theme/css/bootstrap.min.css</theme>

This adds a theme node to the portal. Just make sure the path containing the extension and file name are the same as on your system, then we can go to the final step.

Upgrading the system

Finally run an upgrade of your iTop system with the new extension option checked and access the portal.

Et voilà !

 Et voilà !


You can find this extension with some example themes here:

3_2_0/customization/portal_howto_changebstheme.txt · Last modified: 2024/06/20 17:28 (external edit)
Back to top
Contact us