[turba] Automatic free/busy urls for kronolith in generated "group" adressbooks

Michael J. Rubinsky mrubinsk at horde.org
Thu Oct 15 21:57:10 UTC 2009


Quoting Johannes Boy <johannesboy at web.de>:

> Hello all,
> to ease the pain of managing various calendars for about a dozen  
> users, I'd like to make the free/busy information automatically  
> available in kronolith.

Not 100% sure what you mean here... fb information *is* available in  
kronolith.


  My current approach would be to use the
> group- based adress book.


Ah, wait, do you mean you are trying to create some kind of  
"composite" fb info for all the calendars that you manage? That's not  
currently possible via the fb.php file.

> However, that adressbook does not contain the free & busy urls and  
> is therefore not useable by kronolith.
> I figure, to fix this I'd have to add an entry to the "map"  
> parameter, like the "localsql" does it, like this:
>
>   $grpSource = array(
>       'title' => _("Group"),
>       'type' => 'group',
>       'params' => array(
>          'name' => ''
>       ),
>       'map' => array(
>           '__key' => 'email',
>           'name' => 'name',
>           'email' => 'email',
>           'freebusyUrl' => 'object_freebusyurl'
>       ),
>   // [...]
> however, I have no idea where to fill in the value so it shows  
> http://<myhost>/horde/kronolith/fb.php?u=<userid>.
> Simply adding
>
>   $cfgSources['group_' . $_group_id]['freebusyUrl'] =  
> 'http://localhost/horde/kronolith/fb.php?u=' . Auth::getAuth();
>
> and similair to the loop below does exactly nothing :/
> So I guess my question is: Does anyone know where I'd have to add that code?
> Or is there a more direct solution for my problem that I have missed?

Still not really sure what the problem is.... I assume you are aware  
that each contact entry a turba address book can contain a fburl for  
that specific user. Maybe a use case would make your needs more clear.


-- 
Thanks,
mike

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



More information about the turba mailing list