[turba] offer all email fields.

Bruno Costacurta techie at costacurta.org
Mon Jan 14 19:45:12 UTC 2013


>
> Hint: There is only one email field in Turba (for now)...
> emailhome, emailbusiness does not exist for Horde (Turba)...
>
> For me, this is a big issue.
> Can this be fixed?
>

Additional fields can be implemented by creating two new files :
attributes.local.php
backends.local.php

This is documented in related backends.php & attributes.php.

Eg. in attributes.local.php I wrote :

$attributes['homeEmail'] = array(
     'label' => _("Home Email"),
     'type' => 'email',
     'required' => false,
     'params' => array('allow_multi' => false, 'size' => 50,  
'maxlength' => 50,'strip_domain' => false, 'link_compose' => true)
);
$attributes['workEmail'] = array(
     'label' => _("Work Email"),
     'type' => 'email',
     'required' => false,
     'params' => array('allow_multi' => false, 'size' => 50,  
'maxlength' => 50,'strip_domain' => false, 'link_compose' => true)
);

Also added needed fields in related tables turba.
It works fine for the address book functionalites, but currently I got  
problem for the auto-completion email
when composing new email.

Bye,
Bruno



-- 
Linux Counter # 353844
https://linuxcounter.net/user/353844.html



More information about the turba mailing list