Sidebar

Combodo

iTop Extensions

User portal dynamic logo

m( m( m( Combodo's customers only 8-) 8-) 8-)

name:
User portal dynamic logo
description:
Display a different branding logo on the portal depending on an OQL query
version:
1.0.2
release:
2024-08-06
itop-version-min:
2.7.0
code:
combodo-portal-dynamic-branding-logo
state:
stable
php-version-max:
PHP 8.3

The extension allows to display a different branding logo in the end-users portals.

Features

Increase your end-users experience on the iTop Portal with dedicated branding logo.

  • Replace the static portal logo, by a user specific branding logo:
    • It can be the logo of the current user's organization
    • Or a logo related to the user's location
    • Or a logo related to a particular user's team
    • Or any other logic that you can think of, based on the connected user.
  • If you have multiple iTop portals, you can define a different logic for each.

Revision History

Date Version Description
2024-08-06 1.0.2 * Dictionaries synchronization with english reference
2022-07-13 1.0.1 * Updated german translations by Lars Kaltefleiter
2022-03-07 1.0.0 * First version

Limitations

No known limitation

Requirements

No requirement

Installation

Use the Standard installation process for this extension.

The extension comes with pre-configuration for the standard end-users portal.

Configuration

Once the module has been installed, edit the configuration file and add the following section if you want to overload the default configuration:

  'combodo-portal-dynamic-branding-logo' => array (
                'enabled' => true,
                'portals' => array (
                        'itop-portal' => array (
                                'object_oql' => 'SELECT Organization WHERE id = :current_contact->org_id',
                                'logo_attcode' => 'logo',
                        ),
                        // Optionally add configuration for other portal instances
                        'another-portal' => array (
                                'object_oql' => 'SELECT Organization WHERE friendlyname = "Customer A"',
                                'logo_attcode' => 'logo',
                        ),
                ),
        ),
Parameter Type Description Default Value
enabled boolean Globally enable/disable the module true
portals array Portal instances for which you want to change the branding logo. \\For each instance, you must define both the logo_attcode and object_oql parameters.
* object_oql: Valid OQL to any object carrying the logo to display, if several objects returned, the first will be used.
* logo_attcode: The attribute code carrying the logo on object_oql.
See example above

Usage

Add a logo to an organization

 Add a logo to an organization

Any portal user will see its organization logo instead of iTop Logo

Before  Portal before change

After  Portal after change

extensions/combodo-portal-dynamic-branding-logo.txt ยท Last modified: 2024/08/28 10:47 (external edit)
Back to top
Contact us