README.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Description
  2. -----------
  3. Another CCK module to provide a phone number field type.
  4. Main differences cck_phone from Phone (CCK) phone.module are:
  5. - Single CCK widget instead of ever growing CCK widget per country
  6. - Supports all/multiple countries in one CCK field
  7. - Covers almost all country codes (239 on last count) out of the box, with generic phone number validation
  8. - Includes all countries codes or select your own list of countries
  9. - Custom country specific phone numbers validation & formatting
  10. - Custom country validation can be turned off, configurable per field
  11. - Better tel link support (RFC3966) or mobile support - iPhone, Android, iPad, Opera Mobile/Mini, etc.
  12. Prerequisites
  13. -------------
  14. The cck_phone.module requires the content.module to be installed.
  15. Installation
  16. ------------
  17. To install, copy the cck_phone directory and all its contents to your modules directory.
  18. To enable this module, go to Administer > Modules, and enable Phone Number.
  19. Themable
  20. --------
  21. theme_phone_number($element)
  22. - FAPI theme for an individual phone number elements.
  23. theme_phone_number_extension($extension = '')
  24. - Theme function for phone extension
  25. theme_cck_phone_formatter_default($element)
  26. - Theme function for 'default' or global phone number field formatter.
  27. theme_cck_phone_formatter_local($element)
  28. - Theme function for 'local' phone number field formatter.
  29. theme_cck_phone_mobile_tel($element, $phone = '')
  30. - Theme function for mobile tel.
  31. Todo Tasks: (Contribution is welcome!)
  32. -----------
  33. - D7 port using Field API
  34. - migration option from phone.module
  35. - phone types (home, work, mobile, fax, etc) support
  36. - simpletest
  37. Ongoing Tasks:
  38. --------------
  39. - add validation support to all country phone numbers
  40. - translation of the module
  41. Bugs/Features/Patches:
  42. ----------------------
  43. If you want to report bugs, feature requests, or submit a patch, please do so at the project page on the Drupal web site.
  44. http://drupal.org/project/cck_phone
  45. Credits
  46. -------
  47. Initially sponsored by forDrupal.com