Page 1 of 1

Add New Fields To Contacts?

PostPosted: Tue Apr 27, 2021 11:46 pm
by inspire888
Hi All,

Is it possible to add new fields to contacts?

Email is missing and I'd like to add a few more if possible?

I tried adding an email address to another field however it simply pulls the @ sign out.

Thanks

Re: Add New Fields To Contacts?

PostPosted: Wed Apr 28, 2021 8:43 am
by mflorell
That's not currently a feature in VICIdial, although I'm sure it could be added. You should add an Issue Tracker "feature request" ticket for this, and consider sponsoring development of the feature.

Re: Add New Fields To Contacts?

PostPosted: Wed Apr 28, 2021 6:03 pm
by inspire888
I don't mind changing some PHP code for a quick customization.

Is it stored in admin.php?

Re: Add New Fields To Contacts?

PostPosted: Wed Apr 28, 2021 6:12 pm
by inspire888
Just found it in admin.php and changed the field label and type.

How can I stop if from stripping the @ sign?

Thanks

Re: Add New Fields To Contacts?

PostPosted: Wed Apr 28, 2021 7:36 pm
by inspire888
Solved it.

Just added a @ to one of the variables in preg_replace.

Re: Add New Fields To Contacts?

PostPosted: Fri Apr 30, 2021 12:29 am
by carpenox
nice, good postback