Opened 12 months ago

Last modified 11 months ago

#1488486 reopened Feature Requests

Global Address Book - Custom Fields

Reported by: santoshkrg Owned by:
Priority: 2 Milestone: later
Component: Addressbook Version: 0.7.2
Severity: normal Keywords:
Cc: mgiashmera@…

Description

Hi Team,

Like Zimbra web mail, could we have the new feature i.e adding custom field features in round cube address book.

Attachments (4)

addressbook.png (18.7 KB) - added by santoshkrg 12 months ago.
vcard-test-ver3.vcf (654 bytes) - added by malper 11 months ago.
Iphone label vCard version 3
addressbook-contact-properties.png (30.6 KB) - added by malper 11 months ago.
address book contact properties
testuser.vcf (226 bytes) - added by malper 11 months ago.
X- prefix label vCard example.

Download all attachments as: .zip

Change History (10)

Changed 12 months ago by santoshkrg

comment:1 Changed 12 months ago by alec

  • Resolution set to invalid
  • Status changed from new to closed

The image tells me nothing. You can define any fields using plugin.

Changed 11 months ago by malper

Iphone label vCard version 3

comment:2 Changed 11 months ago by malper

  • Cc mgiashmera@… added
  • Priority changed from 3 to 2
  • Resolution invalid deleted
  • Status changed from closed to reopened

Hi,

It would be awesome for extra/custom fields to be viewed from the Address Book (global) in roundcube.
I have attached an example vCard (file: vcard-test-ver3.vcf) that has the field label IPHONE.

After digging up I found out that the file responsible for the labels is program/steps/address book/func.inc

After adding iphone label to the array of 'phone' I'm able to see the field in roundcube addressbook.

I have attached a screenshot of the contact properties in roundcube address book.

Diff:

39c39
<   'phone'        => array('type' => 'text', 'size' => 40, 'maxlength' => 20, 'label' => rcube_label('phone'), 'subtypes' => array('home','home2','work','work2','mobile','main','homefax','workfax','car','pager','video','assistant','other','iphone'), 'category' => 'main'),
---
>   'phone'        => array('type' => 'text', 'size' => 40, 'maxlength' => 20, 'label' => rcube_label('phone'), 'subtypes' => array('home','home2','work','work2','mobile','main','homefax','workfax','car','pager','video','assistant','other'), 'category' => 'main'),

How doable is to show all custom fields ?

Last edited 11 months ago by malper (previous) (diff)

Changed 11 months ago by malper

address book contact properties

comment:3 Changed 11 months ago by malper

  • Version changed from 0.8-beta to 0.7.2

comment:4 Changed 11 months ago by malper

  • Type changed from Feature Requests to Bugs

comment:5 Changed 11 months ago by alec

  • Type changed from Bugs to Feature Requests

"iphone" isn't standard phone type. The list of types is here http://www.iana.org/assignments/vcard-elements/vcard-elements.xml, other should use X- prefix. Also I don't see a bug here, but feature request.

Changed 11 months ago by malper

X- prefix label vCard example.

comment:6 Changed 11 months ago by malper

Well iphone was an example.
But still a contact with an X- prefix is not displayed either (attached a test .vcf with a X- prefix label).

Is this considered a bug ?

Note: See TracTickets for help on using tickets.