Table of Contents

White Label an Install of RADIUSdesk

Change the location from where the pages are served

 sudo cp -R /usr/share/nginx/html/rd/build/production/Rd/* /usr/share/nginx/html/

Change the login screen

sudo vi  /usr/share/nginx/html/resources/js/config.js
headerName      : 'RADIUSdesk',
footerName      : 'RADIUSdesk',
footerLicense   : '2012-2017 GPL license',
  • We assume you copied the optimized files to be in served out of the Webroot as specified in the first step of this page.
  • If you want to change it in its default location.
    • For the optimized JavaScript code:
sudo vi  /usr/share/nginx/html/rd/build/production/Rd/resources/js/config.js
  • For the original JavaScript code:
sudo vi  /usr/share/nginx/html/rd/resources/js/config.js

Change the Page Title

sudo vi  /usr/share/nginx/html/index.html
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Rd</title>

After you logged in

sudo vi /usr/share/nginx/html/cake3/rd_cake/config/RadiusDesk.php
//=== White Label ====
 
#NOTE: To enable the White Label site wide; change this to true
$config['whitelabel']['active']     = false ;
 
#After it is enabled you can tweak these values
$config['whitelabel']['hName']      = 'RADIUSdesk';
$config['whitelabel']['hBg']        = '#FFFFFF';
$config['whitelabel']['hFg']        = '#4b4c4c';
$config['whitelabel']['imgActive']  = true;
$config['whitelabel']['imgFile']    = 'logo.png';
$config['whitelabel']['fName']      = 'RADIUSdesk';

Per Access Provider

Remember that the per Access Provider override require that the site's white label be enabled in order to be activated.

If you only want the Logo without any text, simply leave the header text blank.