[imp] New hook for search_sources reg.
ANANT S ATHAVALE
asa at isac.gov.in
Mon Oct 5 10:40:10 UTC 2009
----- Message from jan at horde.org ---------
Date: Wed, 30 Sep 2009 11:05:51 +0200
From: Jan Schneider <jan at horde.org>
Subject: Re: [imp] New hook for search_sources reg.
To: imp at lists.horde.org
> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>
>> Dear List Members,
>>
>> Yesterday, I applied the Horde Groupware WebMail Edition
>> 1.2.3-1.2.4 patches.
>>
>> Following are some of the settings in prefs.php in IMP.
>>
>> $_prefs['search_sources'] = array(
>> 'value' => "localsql\tlocalldap\tfavourites",
>> 'locked' => true,
>> 'shared' => true,
>> 'hook' => true,
>> 'type' => 'implicit');
>>
>> $_prefs['search_fields'] = array(
>> 'value' =>
>> "localsql\tname\temail\nlocalldap\tname\temail\tstaffnumber\nfavourites\tname\temail",
>> 'locked' => true,
>> 'shared' => true,
>> 'type' => 'implicit');
>>
>> I enabled the example hook for search_sources. And also set
>> 'use_shares' for
>> localsql in turba to true.
>>
>> As per the CHANGES document, I should have been able to expand my
>> personal address book which is in localsql. But, It did not
>> happen. Again, I reverted 'use_shares' to false, and expand works
>> for all of localsql, localldap and favourites.
>
> Does this happen with a fresh account? If you are using an older
> account which already has the preference set, it doesn't have any
> effect to enable the hook.
I checked, preference name 'search_source' is not set to anything for
the user for whom I am testing this feature. This is a older account.
>
>> After applying the patch, hook => true was mentioned only for
>> 'add_source'. Now I added it for 'search_sources' also.
>>
>> So, still my users are not able to use their additional personal
>> address books created by them.
>>
>> Did I do any mistake in setting up prefs.php or hooks.php?
>>
>> Regards,
>>
>> Anant Athavale.
>> --
>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
>
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
----- End message from jan at horde.org -----
Regards,
Anant Athavale.
More information about the imp
mailing list