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 a brick icon

In this How to, we change the “New request” icon from a conversation bubble to a paper plane.

How to change a brick icon
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 icon of the “New request” brick

 Before changing the icon

Step by step instructions

Creating the extension

First, we need to create an iTop extension that will alter the portal XML configuration to change the icon of the brick. Check the Extension modules part from the customization guide (iTop Customization) if necessary.

  1. Name the extension as sample-portal-change-brick-icon.
  2. Remove the main.sample-portal-change-brick-icon.php file as we won't need any PHP code.
  3. Remove the *.dict.sample-portal-change-brick-icon.php files as we won't need any translations.

You should have the following structure:  Module structure

Changing the portal configuration

Now that we have the extension, we just need to make an XML delta and change the portal configuration to define which icon we want. Open the datamodel.sample-portal-change-brick-icon.xml file and paste the following code:

<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="" version="1.7">
    <module_design id="itop-portal">
        <brick id="services">
            <default _delta="force">fas fa-paper-plane fa-2x fa-fw</default>

This redefines the services (a.k.a “New request”) brick icon with ours. The important parts are:

  • fas fa-paper-plane The icon classes to be found on the FontAwesome v5 website (free category only).
  • fa-2x Makes sure the icon has the same size as the others in the navigation menu.
  • fa-fw Makes sure the icon will be centered like the others in the navigation menu.

Upgrading the system

Finally run an upgrade of your iTop system with the new extension option checked and access the portal. You should see the new New request icon changed by our paper plan.

 Et voilà !


You can find this extension on our GitHub here 👌

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