[horde] Default Calendar and prefs.local.php

Stephan Rattai steffo76 at gmx.de
Wed Jan 23 10:54:00 UTC 2013


-------- Original-Nachricht --------
> Datum: Wed, 23 Jan 2013 11:08:21 +0100
> Von: Jan Schneider <jan at horde.org>
> An: horde at lists.horde.org
> Betreff: Re: [horde] Default Calendar and prefs.local.php

> 
> Zitat von steffo76 at gmx.de:
> 
> > Hi list,
> >
> > I am trying to modify kronolith's prefs.local.php so that for each  
> > user the respective personal address book gets set as default. I  
> > tried setting 'value' =>  
> > serialize(array($GLOBALS['registry']->getAuth())) for pref  
> > default_share but that doesn't work, users still get the first  
> > address book they have access to set as default. How can I manage to  
> > set the pref ?
> >
> > Regards
> > Stephan
> 
> You want to call Turba's getDefaultShare() API method. See IMP's  
> hooks.php.dist for a usage example.

Excellent, thanks !


More information about the horde mailing list