Horde change default theme

From SME Server
Revision as of 17:20, 11 June 2009 by 7eis (talk | contribs) (Created page with '== How to change the default horde theme == If you wish to change the default horde theme, this is for you. Confirmed to work with SME Server version 7.4 === Instructions === Ex...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to change the default horde theme

If you wish to change the default horde theme, this is for you. Confirmed to work with SME Server version 7.4

Instructions

Extracted from http://forums.contribs.org/index.php/topic,32920.msg145942.html#msg145942

1. Log in (with username root) to the SMEserver console.

2. Enter the following at the console prompt.

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 .
nano -w 200personal

3. Edit '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.")
);

4. Make the change to take effect.

/sbin/e-smith/expand-template /home/httpd/html/horde/config/prefs.php

5. Enjoy