Author Topic: Elastic login and dashboard logo  (Read 14897 times)

Offline duo

  • Newbie
  • *
  • Posts: 1
Elastic login and dashboard logo
« on: December 30, 2019, 11:47:45 AM »
Hello, how to set different Elastic login and dashboard logo ?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Elastic login and dashboard logo
« Reply #1 on: December 31, 2019, 02:43:27 AM »
Code: [Select]
// Logo image replacement. Specifies location of the image as:
// - URL relative to the document root of this Roundcube installation
// - full URL with http:// or https:// prefix
// - URL relative to the current skin folder (when starts with a '/')
//
// An array can be used to specify different logos for specific template files
// The array key specifies the place(s) the logo should be applied to and
// is made up of (up to) 3 parts:
// - skin name prefix (always with colon, can be replaced with *)
// - template name (or * for all templates)
// - logo type - it is used for logos used on multiple templates
//   the available types include '[favicon]' for favicon, '[print]' for logo on all print
//   templates (e.g. messageprint, contactprint) and '[small]' for small screen logo in supported skins
//
// Example config for skin_logo
/*
   array(
     // show the image /images/logo_login_small.png for the Login screen in the Elastic skin on small screens
     "elastic:login[small]" => "/images/logo_login_small.png",
     // show the image /images/logo_login.png for the Login screen in the Elastic skin
     "elastic:login" => "/images/logo_login.png",
     // show the image /images/logo_small.png in the Elastic skin
     "elastic:*[small]" => "/images/logo_small.png",
     // show the image /images/larry.png in the Larry skin
     "larry:*" => "/images/larry.png",
     // show the image /images/logo_login.png on the login template in all skins
     "login" => "/images/logo_login.png",
     // show the image /images/logo_print.png for all print type logos in all skins
     "[print]" => "/images/logo_print.png",
   );
*/
$config['skin_logo'] = null;

Offline kjcarleo

  • Newbie
  • *
  • Posts: 3
Re: Elastic login and dashboard logo
« Reply #2 on: May 15, 2020, 09:23:40 PM »
Hello I am interested in changing the logo (and Title Page) as well, where exactly do we apply this code?

Kevin Carleo

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Elastic login and dashboard logo
« Reply #3 on: May 15, 2020, 09:35:53 PM »
It goes in the <RC root>/config/config.inc.php.

Offline kjcarleo

  • Newbie
  • *
  • Posts: 3
Re: Elastic login and dashboard logo
« Reply #4 on: May 16, 2020, 12:28:30 AM »
I tried downloading that file via TP and I got access denied, is that normal? Is it usual secured?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Elastic login and dashboard logo
« Reply #5 on: May 16, 2020, 02:40:34 PM »
If your using a shared Roundcube instance then it is and you wont be able to change the config.

Offline kjcarleo

  • Newbie
  • *
  • Posts: 3
Re: Elastic login and dashboard logo
« Reply #6 on: May 16, 2020, 04:22:09 PM »
Dang it! So would MediaTemple have to do it?

KJ

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Elastic login and dashboard logo
« Reply #7 on: May 17, 2020, 12:57:24 AM »
Yes but its unlikely your hosting provider would change it since they likly use the same Roundcube instance for multiple customers.