[horde] Default Calendar and prefs.local.php

Jan Schneider jan at horde.org
Wed Jan 23 10:09:14 UTC 2013


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.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list