Skip to main content

CWP: Customize Roundcube Webclient for Branding!

Roundcube is an open source webmail client. And out of all the opensource webmail clients it probably is one of the best. Many hosting packages come with an option to install of use roundcube.
Changing Roundcube Logo
# cd /usr/local/cwpsrv/var/services/roundcube/skins/larry/images
# cp -p roundcube_logo.png roundcube_logo.png.orig
Upload your own logo here with named roundcube_logo.png and Replace the existing & Give the following Permission
# chown -R cwpsvc:cwpsvc roundcube_logo.png
Changing Roundcube Favicon 
# cd /usr/local/cwpsrv/var/services/roundcube/skins/larry/images
# cp -p favicon.ico favicon.ico.orig
Upload your own Favicon here with named favicon.ico and Replace the existing & Give the Following Permission
# chown -R cwpsvc:cwpsvc favicon.ico
And Finally Do the same thing for this location
# cd /usr/local/cwpsrv/var/services/roundcube/skins/classic/images
Changing Roundcube Title & Add Support URL
# cd /usr/local/cwpsrv/var/services/roundcube
# vi config/config.inc.php

$config['support_url'] = 'https://datahead.biz/support/';
$config['product_name'] = 'DataHead Webmail';
Roundcube Login Form Branding
Easy and Best Way to change your own logo for Rouncube Branding

Go to The Following directory
# cd /usr/local/cwpsrv/var/services/roundcube/config
# vi defaults.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
// for example array("*" => "/images/roundcube_logo.png", "messageprint" => "/images/roundcube_logo_print.png")
$config['skin_logo'] = 'https://www.google.com/images/logos/google_logo_41.png';

Roundcube Login Form Branding Code
Changing Roundcube Title & Add Support URL
# cd /usr/local/cwpsrv/var/services/roundcube

# vi config/defaults.inc.php
// provide an URL where a user can get support for this Roundcube installation
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = 'https://datahead.biz/support/';

// Name your service. This is displayed on the login screen and in the window title
$config['product_name'] = 'DataHead Webmail';

CWP Changing Roundcube Logo

This post is based on this article.
Link 1
Link 2
Link 2

Comments

Most Popular

CWP DNS Part 1 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

After hosting my parent domain on CWP7.admin, I am getting dns error and i'm not able access my server using my server FQDN but i can access using my server IP.
So what can i do for that problem ?

Yes, you have to fix the error .

Environment Details:
Distro Name: CentOS Linux release 7.6.1810 (Core)
CentOS-Web Panel version: CWP7.admin
CWP version: 0.9.8.757
WebServer: Apache Only
FQDN: host.datahead.biz
IP: 192.120.10.3

1.Change Hostname Permanently:
# hostnamectl set-hostname host.datahead.biz# hostnamectl Static hostname: host.datahead.biz Icon name: computer-vm Chassis: vm Machine ID: 7400071490ea4f7d931374824ad4b52c Boot ID: 6e1f2d76495d4b318c25c4a1195aa130 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-862.14.4.el7.x86_64 Architecture: x86-64 It also writes this information to the /etc/hostname file as well.
# cat /etc/hostname host.d…

CWP DNS Part 2 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

7.Open Main Configuration file
# vi /etc/named.conf 12 options { 13 listen-on port 53 { any; }; 14 listen-on-v6 port 53 { ::1; }; 15 directory "/var/named"; 16 dump-file "/var/named/data/cache_dump.db"; 17 statistics-file "/var/named/data/named_stats.txt"; 18 memstatistics-file "/var/named/data/named_mem_stats.txt"; 19 recursing-file "/var/named/data/named.recursing"; 20 secroots-file "/var/named/data/named.secroots"; 21 allow-query { any; }; 33 recursion no; 34 35 dnssec-enable yes; 36 dnssec-validation yes; 54 zone "." IN { 55 type hint; 56 file "named.ca"; 57 }; 58 59 include "/etc/named.rfc1912.zones"; 60 include "/etc/named.root.key"; 61 …