[turba] predefine Addressbooks

Makeri makeri-kutsonu at t-online.de
Tue Nov 8 14:03:16 UTC 2011


Craig White <craigwhite <at> azapple.com> writes:

> 
> ----
> I would suggest you look at these preferences...
> 
> // preference for holding any preferences-based addressbooks.
> $_prefs['prefbooks'] = array(
>     'value' => ''
> );
> 
> // Address books to be displayed in the address book selection widget
> // and in the Browse menu item.  The address book name is stored using
> // the source key from backends.php (e.g. "localsql").
> // You can provide default values this way:
> //   'value' => json_encode(array('source_one', 'source_two'))
> // If 'value' is empty (''), all address books that the user has
> permissions
> // to will be listed.
> $_prefs['addressbooks'] = array(
>     'value' => ''
> );
> 
> Craig
> 

i mean NOT $_prefs['addressbooks'] !

maybe $_prefs['prefbooks'] ?

What value must i set in $_prefs['prefbooks']  ?

like :
'value' => 'ad1, ad4'

or
'value' => array ('ad1', 'ad4')

or 
a:2:{i:0;s:3:"ad1";i:1:s:3:"ad4";}

or how ?

nothing works ...



More information about the turba mailing list