Login glass theme
๐คฆ ๐คฆ ๐คฆ Combodo's customers only ๐ ๐ ๐
- name:
- Login glass theme
- description:
- Add a transparent theme dark or light on the box login and logoff
- version:
- 1.0.0
- release:
- 2021-12-07
- itop-version-min:
- 3.1.x
- code:
- combodo-login-glass-theme
- state:
- stable
- php-version-max:
- PHP 8.3
This extension allows to have a transparent theme on the box login and logoff.
Features
Apply a transparent theme on the login and logoff. Choose between the two available themes: dark or light.
Revision History
Version | Release Date | Comments |
---|---|---|
1.0.0 | 2021-12-07 | First version |
Limitations
No limitations.
Requirements
Requires iTop 2.7.0 or above
Installation
Use the Standard installation process for this extension.
Add your image background in a directory on the iTop server, or an external server that is accessible for all users iTop.
Notes : You need to protect access to the images directory in order to limit access, and allow only administartors to write on this directory.
Configuration
Parameter | Meaning | Default |
disable | To enable or disable the personalized theme,
supported values are false and true |
false |
theme | Specify the name of theme to apply,
supported values are dark and light |
'dark' |
There are 2 ways to configure the module settings:
-
Through the iTop configuration file: Will only
-
Through the XML datamodel via the ITSM Designer or an extension
Method 1: Configuration through the iTop configuration file
Pros:
-
Can be done easily as you just need to edit the configuration in your iTop instance
Cons:
-
Only applies to that particular iTop instance. If you are running several iTop frontals or environments, you will need to duplicate the configuration on each instances you want the chat to be enabled.
Open the file 'config-itop.php', add the section
combodo-login-custom-background
in the section
$MyModuleSettings, and modify parameters in function where are
store your image file. It should looks as shown below:
- config-itop.php
-
'combodo-login-glass-theme' => array ( 'enable' => true, 'theme' => 'light', ),
Method 2: Configuration through the XML datamodel
Pros:
-
Configuration will apply to all instances using this datamodel:
-
If done in the ITSM Designer: All instances of the concerned license
-
If done in an extension: All instances using the extension
-
-
Can still be overloaded locally with method #1
Cons:
-
When using the ITSM Designer: Need Combodo's assistance to configure the module parameters
-
When using an extension: Need to be familiar with iTop extension development
Use the following XML as a bootstrap:
<?xml version="1.0" encoding="UTF-8"?> <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.6"> <module_parameters> <parameters id="combodo-login-glass-theme"> <enable type="bool">true</disable> <theme type="string">dark</theme> </parameters> </module_parameters> </itop_design>