[turba] [SPAM] - Re: Adding Custom Communication Fields to Turba - Bayesian Filter detected spam

Simon Brereton simon.brereton at dada.net
Tue Apr 26 14:33:09 UTC 2011


> From: turba-bounces at lists.horde.org [mailto:turba-
> bounces at lists.horde.org] On Behalf Of Jan Schneider
> Zitat von Simon Brereton <simon.brereton at dada.net>:
> > What's the format for adding this then to attributes.php?
> >
> > $attributes['workEmail'] = array(
> >         'label' => _("Work Email"),
> >         'type' => 'email',
> >         'required' => false,
> >         'params' => array('allow_multi' => false, 'strip_domain' =>
> > false, 'link_compose' => true) );
> >
> > and
> >
> > $attributes['workCellPhone'] = array(
> >     'label' => _("Work Mobile Phone"),
> >     'type' => 'cellphone',
> >     'required' => false
> > );
> 
> Looks fine, but you should add it to attributes.local.php
> 
> > Presumably then I also have to add this to the DB?
> 
> Yes, and still to backends.php, i.e. backends.local.php.

Yes, but how do I add it to the DB?

Simon




More information about the turba mailing list