[turba] Default columns prefs

OVi C csoft2k5 at gmail.com
Tue Jul 10 13:21:20 UTC 2012


On Mon, Jul 9, 2012 at 4:23 PM, Jan Schneider <jan at horde.org> wrote:

>
> Zitat von OVi C <csoft2k5 at gmail.com>:
>
>
>  Hi. I'm using horde webmail edition 4.0.8 and I want to set default
>> columns
>> prefs in turba for a shared address book in sql for new users.
>>
>> Here's the config from prefs.local.php:
>>
>> $_prefs['addressbooks'] = array(
>>     'value' =>  json_encode(array('localsql'))
>> );
>>
>> $_prefs['columns'] = array(
>>     'value' => "\nlocalsql\temail\tbirthday"
>> );
>>
>>
>>
>> After a user gets created the only column that is displayed in the address
>> book it's just the name. Why doesn't show also the email and birthday ?
>>
>
> The leading \n is incorrect. And the name field might be mandatory.
>
>
I've managed to make it work by adding this to prefs.local.php:

$_prefs['columns'] = array(
      'value' =>
"6VEPPV7H0cNP_tGbS6WQWwA\temail\tworkPhone\tcellPhone\tfax\ttitle\tcompany\tbirthday"
where is 6VEPPV7H0cNP_tGbS6WQWwA is the name of the address book taken from
mysql horde_prefs table.
Is there other way to specify the address book name ?


More information about the turba mailing list