RADIUSdesk

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user_guide:white_label [2017/03/19 22:41] – [Per Access Provider] 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 =====
Line 48: Line 62:
 <code php> <code php>
 //=== White Label ==== //=== White Label ====
 +
 +#NOTE: To enable the White Label site wide; change this to true
 $config['whitelabel']['active'    = false ; $config['whitelabel']['active'    = false ;
 +
 +#After it is enabled you can tweak these values
 $config['whitelabel']['hName'     = 'RADIUSdesk'; $config['whitelabel']['hName'     = 'RADIUSdesk';
 $config['whitelabel']['hBg'       = '#FFFFFF'; $config['whitelabel']['hBg'       = '#FFFFFF';
Line 56: Line 74:
 $config['whitelabel']['fName'     = 'RADIUSdesk'; $config['whitelabel']['fName'     = 'RADIUSdesk';
 </code> </code>
-  * The **logo.png** file resides in the **/usr/share/nginx/html/cake3/rd_cake/img/access_providers/** folder.+  * 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.   * 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.   * The logo should not be more than 50 px high for it to display nicely in the top banner.
Line 76: Line 94:
  
  
 +<WRAP center round tip 100%>
 +If you only want the Logo without any text, simply leave the header text blank.
 +</WRAP>