Horde Webclient

Stuart Bingë omicron-list at mighty.co.za
Wed May 12 17:53:52 CEST 2004


On Wednesday, 12 May 2004 17:04, Nathan Toone wrote:
> OK - so after reading through css.php, it appears that the only place that
> horde reads its theme is from posted form data (that is, it is currently
> only a per-user setting).
>
> I thought that the ability to set a system-wide default theme would be
> desired (I desire it...), so I edited css.php so that it would read the
> value from $conf['css']['theme'] set in the prefs file as a default theme. 
> A user-specified theme will override that.  If no default theme is set, it
> just uses the system default (as it is now)

OK, you've missed the boat here :-)

There is a system-wide default theme setting; like I said, it's set in 
horde/config/prefs.php - *NOT* in horde/config/conf.php (which it looks as 
though you're using)...

Edit prefs.php and look for the section that looks like the following:

// UI theme
$_prefs['theme'] = array(
    'value' => '',
    'locked' => false,
    'shared' => true,
    'type' => 'select',
    'desc' => _("Select your color scheme.")
);

Then change the 'value' line to whatever you want:

    'value' => 'kolab',

As far as I remember this value corresponds to the 'xxx' portion of the 
html-xxx.php theme file, so for html-kolab.php you would use the above line 
to use the Kolab theme by default. I may be wrong about this, but I'm sure 
you can figure it out if I'm incorrect.

Cheers,

-- 
Stuart Bingë
Code Fusion cc.

Office: +27 11 673 0411
Mobile: +27 83 298 9727
Email: s.binge at codefusion.co.za

Tailored email solutions; Kolab specialists.
http://www.codefusion.co.za/




More information about the users mailing list