- Published on
Introducing Telephone Plus
If you have ever used the Telephone field included with Drupal core you'll know it's a pretty basic field type. If offers a single textfield for entering a telephone number and a display formatter for plain text or as a callable link using the 'tel:' prefix to the number in an anchors href property.
But what if you wanted to to include a prefix to the number with say 'mobile' or 'customer services' along with an additional extension number or some additional information such as calling hours. This is where the Telephone Plus comes in.
It's a module I created for a client who required that each telephone number:
- can have an editable label.
- optional extention number.
- supplementary text.
- option to display with or without the international dialing code.