This is an old revision of the document!
White Label an Install of RADIUSdesk
We realized there are by now quite a few deployments of RADIUSdesk out there.
Some of these deployments require White Labeling.
If you want to White Label your install then this page is for you.
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',
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 ====
$config['whitelabel']['active'] = false ;
$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';
The logo.png file resides in the /usr/share/nginx/html/cake3/rd_cake/img/access_providers/ folder.
If you want to specify a site wide default logo, please replace that one manually.
The logo should not be more than 50 px high for it to display nicely in the top banner.
Per Access Provider
We also added functionality per Access Provider to override the default White Label settings.
Simply open the Access Providers applet.
Select an Access Provider and Edit it.
The Detail will have a White Label sub-tab where you can specify the overrides.