Author Topic: Add new fields on Identities information  (Read 2517 times)

Offline mnaddeo

  • Newbie
  • *
  • Posts: 2
Add new fields on Identities information
« on: April 19, 2018, 09:18:14 AM »
Hi, I would like to add some extra fields on the Identities information. I would like users could add some extra information on his identities info, like telephone, an addres, an optional email, and store it on a database.

Is there any chance to do this? I'been searching on plugins page, and on Internet, but I couldn't find anything.

Thanks a lot!

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,187
Re: Add new fields on Identities information
« Reply #1 on: April 20, 2018, 11:32:37 AM »
A plugin would be the way. You could use the identity_form hook (https://github.com/roundcube/roundcubemail/wiki/Plugin-Hooks#identity_form) to modify the form and then may be identity_update to do the saving?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦