Re: Advanced customization

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.kronolith
Message-ID <20150618195353.Horde.YZgI1mLY919Co25nZtIZ4SF@h4.theupstairsroom.com>
Quoting Ob Noxious <[email protected]>:

> On Wed, Jun 17, 2015 at 6:35 PM, Michael J Rubinsky <[email protected]>
> 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

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.