[imp] Multiple autocomplete address books

Elliot Anders elliot at marlboro.edu
Mon Jul 14 17:39:34 UTC 2008


Mike,
thanks for the insight.
On Jul 14, 2008, at 9:55 AM, Michael Rubinsky wrote:

> Quoting Elliot Anders <elliot at marlboro.edu>:
>
>> In partial answer to my own question, it seems you cannot  
>> autocomplete from a localsql address book if you lock your search  
>> sources.  Does this sound correct?  Sounds like a bug to me.
>
> Is this a localsql source with shares enabled?  Then yes, you would  
> not be able to, as the identifier for the specific addressbook/share  
> would need to be
> present in the pref....if it's locked, it cannot be added by the user.

Attempting to follow this line of thought (which makes sense to me) I  
disabled use_shares on the localsql source in Turba sources.php, then  
locked both $_prefs['search_sources'] and $_prefs['search_fields'],  
sadly this had the effect of hiding the localsql source altogether.   
Are those the changes you were thinking?
I've actually now been able to get the autocomplete working, for both  
ldap and sql, by setting the settings via Imp's Options pages, but I  
haven't figured out how to make it a site-wide setting.
Thanks again,
Elliot


More information about the imp mailing list