[kronolith] Advanced customization

Michael J Rubinsky mrubinsk at horde.org
Thu Jun 18 23:53:53 UTC 2015


Quoting Ob Noxious <obnox3 at gmail.com>:

> On Wed, Jun 17, 2015 at 6:35 PM, Michael J Rubinsky <mrubinsk at horde.org>
> wrote:
>
>>
>>
>>  1/ Is there a way, via configuration setting or hook if necessary, to
>>> disable the "Remote calendars" functionnality?
>>>
>>
>> This should be possible by "locking" the remote_calendar preference. See
>> the file format description at the top of horde/config/prefs.php for
>> instructions on how to do this.
>>
>
> Well I tried the following without result!
>
> $_prefs[ 'remote_cals' ][ 'suppress' ] = true;
> $_prefs[ 'remote_cals' ][ 'locked' ] = true;
>
> $_prefs[ 'display_remote_cals' ][ 'suppress' ] = true;
> $_prefs[ 'display_remote_cals' ][ 'locked' ] = true;
>
> $_prefs[ 'display_external_cals' ][ 'suppress' ] = true;
> $_prefs[ 'display_external_cals' ][ 'locked' ] = true;
>
> and also
>
> $_prefs[ 'remote_cals' ] = array(
>   'value' => 'a:0:{}',
>   'locked' => true,
>   'suppress' => true
> );
>
> $_prefs[ 'display_remote_cals' ] = array(
>   'value' => 'a:0:{}',
>   'locked' => true,
>   'suppress' => true
> );
>
> $_prefs[ 'display_external_cals' ] = array(
>   'value' => 'a:0:{}',
>   'locked' => true,
>   'suppress' => true
> );
>
> On the UI, I still have the "Remote calendars" group displayed on the left
> bar along with the "(+)" icon to add one. And pressing that "(+)" still
> pops up a dialog to enter the URL of a remote calendar :-(
>
> I really want this group gone :-)

Yeah, this wasn't being honored. Fixed in Git:

https://github.com/horde/horde/commit/67d623f57b92bba6416850f845e9dab7165b82c2
https://github.com/horde/horde/commit/2d9b602f63d07033444e8cc6d3d03e569e69e8e2



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/kronolith/attachments/20150618/ff40bedd/attachment.bin>


More information about the kronolith mailing list