Horde change default theme

From SME Server
Revision as of 19:06, 25 January 2010 by Timn (talk | contribs) (Added further information section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Change Horde Default Theme

This page describes how to change the Horde default theme for webmail

Horde Application Instructions

To change the default theme for Horde Webmail from within the application, do the following

Important.png Note:
This setting will not survive a system reconfiguration as the relevant template will reset it. See Manual Instructions below


  • Enable the 'admin' user as an Administrator in Horde, as per the FAQ
  • Login to Webmail with the 'admin' account
  • Go to Options - Global Options - Display Options
  • Select a default theme from the available drop down 'Select your colour scheme'
  • Now 'Save options' and changes will take immediate effect

Manual Instructions

To change the default theme for Horde Webmail manually from the command line, do the following (Extracted from an original forum post [1])

Important.png Note:
This will be over ridden by any subsequent setting from within the application as above, but will itself override the application setting after a system reconfiguration. This method may also break Horde or fail to work if future updates change the 200personal template


  • At a server 'root' console prompt, enter the following.
mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/config/prefs.php
cd /etc/e-smith/templates-custom/home/httpd/html/horde/config/prefs.php
cp /etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/200personal 200personal
  • Open and edit the new 200personal file
  • Find the 'UI Theme' section and change 'value' to the name of the theme you want. The default is 'bluewhite'
// UI theme
$_prefs['theme'] = array(
    'value' => 'bluewhite',
    'locked' => false,
    'shared' => true,
    'type' => 'select',
    'desc' => _("Select your color scheme.")
);
If you choose the simplex theme, this is how the section should look
// UI theme
$_prefs['theme'] = array(
    'value' => 'simplex',
    'locked' => false,
    'shared' => true,
    'type' => 'select',
    'desc' => _("Select your color scheme.")
);
  • Save and close the file
  • Make the change take effect.
signal-event email-update

Further Information

The available Themes for Horde Webmail can be found by inspecting /home/httpd/html/horde/themes

The above methods can be used to set other Horde preference options, with the same provisos.