Roundcube Community Forum

Themes & Styling => Theme Releases => Topic started by: duo on December 30, 2019, 11:47:45 AM

Title: Elastic login and dashboard logo
Post by: duo on December 30, 2019, 11:47:45 AM
Hello, how to set different Elastic login and dashboard logo ?
Title: Re: Elastic login and dashboard logo
Post by: SKaero 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;
Title: Re: Elastic login and dashboard logo
Post by: kjcarleo 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
Title: Re: Elastic login and dashboard logo
Post by: SKaero on May 15, 2020, 09:35:53 PM
It goes in the <RC root>/config/config.inc.php.
Title: Re: Elastic login and dashboard logo
Post by: kjcarleo 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?
Title: Re: Elastic login and dashboard logo
Post by: SKaero 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.
Title: Re: Elastic login and dashboard logo
Post by: kjcarleo on May 16, 2020, 04:22:09 PM
Dang it! So would MediaTemple have to do it?

KJ
Title: Re: Elastic login and dashboard logo
Post by: SKaero 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.