Roundcube Community Forum

 

Personalise Roundcube login page + redirect on logout

Started by itmonitor, April 15, 2019, 06:50:13 AM

Previous topic - Next topic

itmonitor

Hi!

I want to customize the Roundcube login page and Roundcube webmail user dashboard with a Company logo. Also, Roundcube should redirect to a website home page on logout. The login page and dashboard customization must be made in a way that it will not be disconfigured by Roundcube updates in the future. Roundcube is runing on a CWP Panel.

Any advice is welcome! :-)

SKaero

You can set the logo in the <RC root>/config/config.inc.php

// replace Roundcube logo with this image
// specify an URL relative to the document root of this Roundcube installation
// an array can be used to specify different logos for specific template files
// '*' for default logo
// ':favicon' for favicon
// ':print' for logo on all print templates (e.g. messageprint, contactprint)
// ':small' for small screen logo in Elastic
// different logos can be specified for different skins by prefixing the skin name to the array key
// config applied in order: <skin>:<template>, <skin>:*, <template>, *
// for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png", "elastic:*" => "/images/logo.png")
$config['skin_logo'] = null;


You can use the logout_redirect plugin https://plugins.roundcube.net/packages/marneu/logout_redirect to redirect to another page when the user logs out.

itmonitor

@skaero, thank you very much!  :) I forgot to post I need also the change the Roundcube login page logo and the login webpage colours. Any idea where to do these changes in the code?

SKaero

If you want to change the skin colors your need to change the css. I'd recommend extending the base theme https://github.com/roundcube/roundcubemail/wiki/Skins#extending-skins so it wont be overwritten during upgrades.