Line 1: |
Line 1: |
− | === Instructions === | + | ==Change Horde Default Theme== |
− | Extracted from http://forums.contribs.org/index.php/topic,32920.msg145942.html#msg145942
| + | This page describes how to change the Horde default theme for webmail |
| | | |
− | 1. Log in (with username root) to the SMEserver console.
| + | ===Horde Application Instructions=== |
| + | 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 |
| | | |
− | 2. Enter the following at the console prompt.
| + | === 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]) |
| + | {{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 20: |
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 30: |
Line 38: |
| 'desc' => _("Select your color scheme.") | | 'desc' => _("Select your color scheme.") |
| ); | | ); |
− | | + | *Save and close the file |
− | 4. Make the change to take effect.
| + | *Make the change take effect. |
− | | |
| signal-event email-update | | signal-event email-update |
| | | |
| ---- | | ---- |
− | <noinclude>[[Category:Howto]]</noinclude> | + | <noinclude>[[Category:Howto]] |
| + | [[Category:Groupware]]</noinclude> |