[kronolith] Two config questions
ANANT S ATHAVALE
asa at isac.gov.in
Wed Nov 30 06:39:59 UTC 2011
You need to create prefs.local.php for any changes w.r.t pref.php
and it should have these lines
$_prefs['search_sources']['locked'] = true;
$_prefs['search_sources']['hook'] = true;
$_prefs['search_fields']['locked'] = true;
$_prefs['search_fields']['hook'] = true;
and copy hooks.php.dist to hooks.php and enable those hook functions
by uncommenting those lines of code.
and for turba the file you should refer is turba/config/backends.php
(copied to backends.local.php with site specific changes)
I hope this helps.
-Anant.
----- Message from cjdl01 <cjdl01 at brokensolstice.com> ---------
Date: Tue, 29 Nov 2011 15:24:30 -0500
From: cjdl01 <cjdl01 at brokensolstice.com>
Subject: Re: [kronolith] Two config questions
To: kronolith at lists.horde.org
>> This depends on your preferences. Please use hooks provided in
>> kronolith/config and configure $_prefs['search_sources']['hook'] =
>> true;
>>
>
> Thanks Anant, but I would like to ask for a little more
> clarification. I have looked into my ~/kronolith/config/prefs.php,
> and found this code:
>
> // Address book(s) to use when expanding addresses
> // Refer to turba/config/sources.php for possible source values
> //
> // You can provide default values this way:
> // 'value' => json_encode(array('source_one', 'source_two'))
> $_prefs['search_sources'] = array(
> 'value' => ''
> );
>
> But I'm confused, there is nothing in my turba/config directory
> called sources.php. I want Kronolith to look through all the
> address books that the user in question has access to (which is what
> I would think most people would want), so what constitutes a source?
> Certainly not the name of the address book.. is there a source that
> is equal to "all the address books I have access to"?
>
> I'm not sure I understand what is being implied with this line:
> // 'value' => json_encode(array('source_one', 'source_two'))
>
> Not sure what json_encode is... is that an example, or do we take it
> literally?
>
> Thanks again.
>
>
>
> --
> Kronolith mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
----- End message from cjdl01 <cjdl01 at brokensolstice.com> -----
Anant S Athavale,
CCSD/CIG, ISAC.
Ph: 3512.
More information about the kronolith
mailing list