Zitat von Christian Mimberg <[email protected]>:
I have defined the following attribute in my turba adressbook.$attributes['emails'] = array( 'label' => _("Emails"), 'type' => 'email', 'required' => false,'params' => array('allow_multi' => true, 'strip_domain' => false, 'link_compose' => true)and this map: 'map' => array( '__key' => 'object_id', '__owner' => 'owner_id', '__type' => 'object_type', '__members' => 'object_members', '__uid' => 'object_uid', 'firstname' => 'object_firstname', 'lastname' => 'object_lastname', 'birthday' => 'object_bday', 'photo' => 'object_photo', 'homeStreet' => 'object_homestreet', 'homeCity' => 'object_homecity', 'homePostalCode' => 'object_homepostalcode', 'emails' => 'object_email', ... ), 'tabs' => array(_("Personal") => array('firstname', 'lastname', 'name', 'birthday', 'photo'),_("Location") => array('homeStreet', 'homePostalCode', 'homeCity'),_("Communications") => array('emails', 'homePhone', 'cellPhone', 'fax', 'workPhone', 'workFax', 'germancellPhone'), _("Organization") => array('company', 'workStreet', 'workPostalCode', 'workCity'),_("Other") => array('notes'),if i add a contact by clicking on the icon "Add user to Adressbook" (in a received message) only the name of the contact is insert into the adressbook. The emailadress is not insert.The Link is: http://www.mydomain.de/horde/imp/message.php?mailbox=INBOX&index=7064&start=1&message_token=iaoxKj9COkuVQWHTmBofbAc-t_I&actionID=add_address&name=&address=testname78%40testdomain.de Where is the problem?
That functionality is expecting an "email" attribute, not "emails". Instead of using a different attribute, just change the email attribute to allow multiple addresses.
Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/
pgpkzSZoyx20t.pgp
Description: Digitale PGP-Unterschrift
-- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
