API.php |
includes/API.php |
|
Phone Number custom country API |
cck_phone.css |
cck_phone.css |
|
/* input field */
.form-phone-number .form-item,
.form-phone-number .form-item label {
display: inline;
}
.form-phone-number .form-item label {
margin-left: 1em;
margin-right: .5em;
}
/* admin settings */
.cck-phone-settings .form-checkboxes… |
cck_phone.feeds.inc |
cck_phone.feeds.inc |
|
Implements Feeds mapping API |
cck_phone.info |
cck_phone.info |
|
name = Phone Number
description = "The phone module allows administrators to define a field type for phone numbers."
package = Fields
dependencies[] = field
core = 7.x
files[] = cck_phone.module
files[] =… |
cck_phone.install |
cck_phone.install |
|
Defines phone number fields for CCK.
Installation file |
cck_phone.module |
cck_phone.module |
|
Defines phone number fields for CCK.
Provide some verifications on the phone numbers |
cck_phone.token.inc |
cck_phone.token.inc |
|
Token hook implementations. Included if token.module is installed. |
cck_phone_countrycodes.inc |
cck_phone_countrycodes.inc |
|
Defines country codes for Phone Number.
Provide country name and international codes per country codes. |
countries.txt |
includes/countries.txt |
|
File an issue if we miss any country codes.
Use the CC in the custom country code includes
e.g.
- file name: phone.CC.inc
- function names: cck_phone_CC_settings_validate, cck_phone_CC_settings_save
CC Country name… |
phone.au.inc |
includes/phone.au.inc |
|
CCK Field for Australia phone numbers. |
phone.ca.inc |
includes/phone.ca.inc |
|
CCK Field for Canada phone numbers. |
phone.gb.inc |
includes/phone.gb.inc |
|
CCK Field for United Kingdom phone numbers. |
phone.hu.inc |
includes/phone.hu.inc |
|
CCK Field for Hungarian phone numbers. |
phone.my.inc |
includes/phone.my.inc |
|
CCK Field for Malaysia phone numbers. |
phone.pl.inc |
includes/phone.pl.inc |
|
CCK Field for Polish phone numbers. |
phone.us.inc |
includes/phone.us.inc |
|
CCK Field for North American phone numbers. |
README.int.txt |
README.int.txt |
|
About the International Phone Number format
===========================================
These rules have been formulated off of the E.123 (for display) and
E.164 (for input) specifications published by the ITU. In order to
prevent ambiguity, we have… |
README.txt |
README.txt |
|
Description
-----------
Another CCK module to provide a phone number field type.
Main differences cck_phone from Phone (CCK) phone.module are:
- Single CCK widget instead of ever growing CCK widget per country
- Supports all/multiple countries in one… |