Roundcube Community Forum
Themes & Styling => Theme Releases => Topic started by: duo on December 30, 2019, 11:47:45 AM
-
Hello, how to set different Elastic login and dashboard logo ?
-
// 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;
-
Hello I am interested in changing the logo (and Title Page) as well, where exactly do we apply this code?
Kevin Carleo
-
It goes in the <RC root>/config/config.inc.php.
-
I tried downloading that file via TP and I got access denied, is that normal? Is it usual secured?
-
If your using a shared Roundcube instance then it is and you wont be able to change the config.
-
Dang it! So would MediaTemple have to do it?
KJ
-
Yes but its unlikely your hosting provider would change it since they likly use the same Roundcube instance for multiple customers.