You are here

README.txt in Phone link 8

Same filename and directory in other branches
  1. 7 README.txt
Provide formatter for text and telephone (only Drupal 8) fields which replace phone number with link:

```
+38 (000) 000-00-00
```

to

```
<a href="tel:380000000000">+38 (000) 000-00-00</a>
// OR
<a href="tel:380000000000">Call to +38 (000) 000-00-00</a>
// OR Skype format
<a href="callto:380000000000">Call to +38 (000) 000-00-00</a>
```

How to use:

- Install the module.
- Add new text or telephone (only Drupal 8) field.
- Go to display settings and chose "Phone link" formatter for you textfield.
- Set title and text on field formatter settings (optional).
- Save display settings.

File

README.txt
View source
  1. Provide formatter for text and telephone (only Drupal 8) fields which replace phone number with link:
  2. ```
  3. +38 (000) 000-00-00
  4. ```
  5. to
  6. ```
  7. +38 (000) 000-00-00
  8. // OR
  9. Call to +38 (000) 000-00-00
  10. // OR Skype format
  11. Call to +38 (000) 000-00-00
  12. ```
  13. How to use:
  14. - Install the module.
  15. - Add new text or telephone (only Drupal 8) field.
  16. - Go to display settings and chose "Phone link" formatter for you textfield.
  17. - Set title and text on field formatter settings (optional).
  18. - Save display settings.