[imp] Multiple autocomplete address books

Michael Rubinsky mrubinsk at horde.org
Mon Jul 14 17:54:47 UTC 2008


Quoting Elliot Anders <elliot at marlboro.edu>:

> 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.

Well, if you turn off sharing for a source that had previously been  
enabled for it, then all the address books that are contained in that  
source *would* be gone, since those address books are represented by  
shares.  Each user *might* still have his/her "default" address book  
available (don't remember off hand if this would be the case or not),  
but you would more than likely have to make sure that the address book  
is added to the user's address book pref, since it's represented  
internally with a different identifier when not using shares.

> 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.

This has the same limitation regarding shares as the turba prefs do.

Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/imp/attachments/20080714/c4ba1035/attachment.bin 


More information about the imp mailing list