Re: offer all email fields.

Bruno Costacurta <[email protected]>
Newsgroups gmane.comp.horde.turba
Message-ID <20130114204512.Horde.stcoYRbhdVWMiRATIpqGLQ3@webmail.costacurta.org>
>
> 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

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.