[horde] set shared address book as default

Vilius Šumskas vilius at lnk.lt
Wed May 9 08:44:40 UTC 2012


 
> Zitat von Vilius Šumskas <vilius at lnk.lt>:
> 
> >> Zitat von Vilius Šumskas <vilius at lnk.lt>:
> >>
> >> > Sveiki,
> >> >
> >> > Tuesday, May 8, 2012, 11:42:16 PM, you wrote:
> >> >
> >> >
> >> >> Zitat von Vilius Šumskas <vilius at lnk.lt>:
> >> >
> >> >>> Sveiki,
> >> >>>
> >> >>> Tuesday, May 8, 2012, 7:11:39 PM, you wrote:
> >> >>>
> >> >>>> Hello
> >> >>>
> >> >>>> we like to set the users "personal" address book as default for prefs
> >> >>>> in Turba/Kronolith/IMP. While it does somewhat work for
> >> IMP/Kronolith
> >> >>>> we have not yet succeed to set the "default_dir" and "sync_books"
> in
> >> >>>> Turba to use the shared (personal) address book. Is there any
> example
> >> >>>> how to set the shared addressbook in the prefs.local.php files?
> >> >>>
> >> >>> Please  search the mailing list archives. There are at least couple of
> >> >>> not so old threads with complete instructions how to do this.
> >> >
> >> >> Hm, yes. I searched the archives but this leads more to the conclusion
> >> >> that it is not really possible for *shared* address books to be used
> >> >> as default for prefs.local.php because one have to use the ID and not
> >> >> the name. This has not changed since Horde 3 / Turba 2, no?
> >> >
> >> > It is possible with hooks.
> >>
> >> As there is no example available as far as i can see, one have to be a
> >> PHP/Horde coder to do it and it looks like it is nothing to explain in
> >> a short mail :-(
> >> So for our userbase we resort to set it by hand for every account, but
> >> i still wonder why such a simple task is that difficult to achieve.
> >
> > http://lists.horde.org/archives/horde/Week-of-Mon-
> 20120402/043953.html
> 
> Thanks, that was what we already have done and it works for IMP. What
> doesn't work is to use the shared address book as "default_dir" and
> "sync_books" default value for Turba. We have deleted all entries in
> horde_prefs for the user to test but still got another address book as
> default in Turba.
> 
> Any hint for this one?

You don't need to set default_dir preference if you are using shared address books. Pushapp_post hook in Turba should take care of everything.

As for the "sync_books" value maybe others could chime in.

-- 
   Vilius



More information about the horde mailing list