On Tue, Oct 28, 2008 at 5:39 PM, Ziba Scott <[EMAIL PROTECTED]> wrote:
> till wrote:
>>> In our environment, we have modified the autocomplete to do an ajax
>>> request because we wanted to provide our users with a list of their
>>> personal contacts combined with contacts pulled from a very large ldap
>>> system. We have plenty of extra LDAP server muscle, so repeated queries
>>> aren't a concern (and we're doing caching in php as a part of our patch).
>>>
>>
>> Do you want to provide your patch
> I really, really do. Unfortunately, the ldap part of it is very
> specific to our ldap schema. I will work on making it work for a more
> generic ldap address book.
>
> To really make one patch work for both roundcube general and for people
> like us with wacky addressbooks, I'd like to make it a patch against
> devel-api and somewhere inside have a call to something like:
>
> $RCMAIL->plugins->exec_hook('addressbook-autocomplete', array('search
> terms . . . .
>
> Then address books could implement that call. Then that hook could be
> called either by ajax or to pre-populate the client like we do currently.
Making it an "action" sounds about right to me.
Till
> Thoughts?
>
> Thanks,
> Ziba
_______________________________________________
List info: http://lists.roundcube.net/dev/