RADIUSdesk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
user_guide:white_label [2017/03/19 22:11] – created adminuser_guide:white_label [2017/03/22 17:49] (current) – [After you logged in] admin
Line 26: Line 26:
   * Reload the page.    * Reload the page. 
   * It should now reflect the changes.   * It should now reflect the changes.
 +
 +<WRAP center round important 100%>
 +  * 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:
 +<code bash>
 +sudo vi  /usr/share/nginx/html/rd/build/production/Rd/resources/js/config.js
 +</code>
 +    * For the original JavaScript code:
 +<code bash>
 +sudo vi  /usr/share/nginx/html/rd/resources/js/config.js
 +</code>
 +</WRAP>
 +
  
 ===== Change the Page Title ===== ===== Change the Page Title =====
-  * The default page title is *Rd*.+  * The default page title is **Rd**.
   * To change that to something else do the following:   * To change that to something else do the following:
 <code bash> <code bash>
Line 38: Line 52:
 <title>Rd</title> <title>Rd</title>
 </code> </code>
 +
 +===== After you logged in =====
 +  * After you logged in you can specify site wide defaults for the banner and footer.
 +  * Edit the following file
 +<code bash>
 +sudo vi /usr/share/nginx/html/cake3/rd_cake/config/RadiusDesk.php
 +</code>
 +  * Look for the following and edit to your liking.
 +<code 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';
 +</code>
 +  * The **logo.png** file resides in the **/usr/share/nginx/html/cake3/rd_cake/webroot/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.
 +
 +<WRAP center round tip 100%>
 +Remember that the **per Access Provider** override require that the site's white label be enabled in order to be activated.
 +</WRAP>
 +
 +
 +{{:user_guide:white_label:white_label.png?nolink|}}
 +
 +{{:user_guide:white_label:white_label_result.png?nolink|}}
 +
 +
 +<WRAP center round tip 100%>
 +If you only want the Logo without any text, simply leave the header text blank.
 +</WRAP>
 +
 +
 +
 +
 +