Difference between revisions of "Horde change default theme"

From SME Server
Jump to navigationJump to search
m (Added further information section)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== How to change the default horde theme ==
+
=Change Horde Default Theme=
If you wish to change the default horde theme, this is for you.
+
This page describes how to change the Horde default theme for webmail
Confirmed to work with SME Server version 7.4
 
  
=== Instructions ===
+
==Horde Application Instructions==
Extracted from http://forums.contribs.org/index.php/topic,32920.msg145942.html#msg145942
+
To change the default theme for Horde Webmail from within the application, do the following
 +
{{Note box| 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 [[SME_Server:Documentation:FAQ#Add_the_admin_user_as_an_administrator_for_Horde|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
  
1. Log in (with username root) to the SMEserver console.
+
== Manual Instructions ==
 
+
To change the default theme for Horde Webmail manually from the command line, do the following (Extracted from an original forum post [http://forums.contribs.org/index.php/topic,32920.msg145942.html#msg145942])
2. Enter the following at the console prompt.
+
{{Note box| 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
 
  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
 
  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 .
+
  cp /etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/200personal 200personal
nano -w 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'
3. Edit 'value' to the name of the theme you want. The default is 'bluewhite'
 
 
  // UI theme
 
  // UI theme
 
  $_prefs['theme'] = array(
 
  $_prefs['theme'] = array(
Line 24: Line 29:
 
     'desc' => _("Select your color scheme.")
 
     'desc' => _("Select your color scheme.")
 
  );
 
  );
 
+
:If you choose the simplex theme, this is how the section should look
If you choose the simplex theme, this is how the section should look
 
 
  // UI theme
 
  // UI theme
 
  $_prefs['theme'] = array(
 
  $_prefs['theme'] = array(
Line 34: Line 38:
 
     'desc' => _("Select your color scheme.")
 
     'desc' => _("Select your color scheme.")
 
  );
 
  );
 +
*Save and close the file
 +
*Make the change take effect.
 +
signal-event email-update
  
4. Make the change to take effect.
+
==Further Information==
 
+
The available Themes for Horde Webmail can be found by inspecting /home/httpd/html/horde/themes
signal-event email-update
 
  
5. Enjoy
+
The above methods can be used to set other Horde preference options, with the same provisos.
  
<noinclude>[[Category:Howto]]</noinclude>
+
----
 +
<noinclude>[[Category:Howto]]
 +
[[Category:Groupware]]</noinclude>

Latest revision as of 19:06, 25 January 2010

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.