[horde] 2 selections from DropDown in a prefs as default in prefs.php

Vilius Šumskas vilius at lnk.lt
Mon Jun 25 11:51:05 UTC 2012


> I found this in kronoliths prefs.php:
> 
> // show event location in the calendar and/or print views?
> $_prefs['show_location'] = array(
>      'value' => 'a:1:{i:0;s:5:"print"}',
>      'type' => 'multienum',
>      'enum' => array(
>          'screen' => _("Month, Week, and Day Views"),
>          'print' => _("Print Views")
>       ),
>      'desc' => _("Choose the views to show event locations in:"),
> );
> 
> 
> I would like as default "print" and "screen".
> 
> How can I change it? I try 'value' => 'a:1:{i:0;s:5:"print screen"}',
> but thats not so easy :-(

Adjust and save needed preference in a test account, go to preference backend, and copy/paste new value to prefs.local.php. Done.

-- 
    Vilius



More information about the horde mailing list