[kronolith] predefine remote-calendars
Jan Schneider
jan at horde.org
Mon Mar 17 15:26:51 UTC 2014
Zitat von gimili <gimili17 at gmail.com>:
> n 11/09/11 8:52 AM, Jan Schneider wrote:
>>
>> Zitat von Makeri <makeri-kutsonu at t-online.de>:
>>
>>> Hello !
>>>
>>> We have multiple (Remote)-Calendars
>>>
>>> How can i (as Administrator) predefine the Calenders, so each user
>>> dont must add
>>> remote-calendars self.
>>
>> They are stored in preferences, so you can set them like any other
>> preference.
>>
>> Jan.
>>
>
> I couldn't get this to work. I successfully subscribed to the
> remote calendar with one user then copied the settings into
> prefs.local.php but they do not show as default for other users.
> This calendar does not require authentication. I tried it with and
> without the locked value. Any tips/advice appreciated?
>
> // remote calendars
> $_prefs['remote_cals'] = array(
> 'locked' => true,
> 'value' =>
> 'a:1:{i:0;a:6:{s:4:""name"";s:3:""HOL"";s:4:""desc"";s:0:"""";s:3:""url"";s:63:""https://mozorg.cdn.mozilla.net/media/caldata/EnglishHolidays.ics"";s:5:""color"";s:7:""#ef8dd8"";s:4:""user"";s:0:"""";s:8:""password"";s:0:"""";}}'
> );
>
> // store the remote calendars to display
> $_prefs['display_remote_cals'] = array(
> 'locked' => true,
> 'value' =>
> 'a:1:{i:0;s:63:""https://mozorg.cdn.mozilla.net/media/caldata/EnglishHolidays.ics"";}'
> );
>
> --
> gimili
Those are valid serialized PHP values.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the kronolith
mailing list