API.php |
includes/API.php |
|
Phone Number custom country API |
cck_phone.crud.test |
tests/cck_phone.crud.test |
|
Basic CRUD simpletests for the cck_phone module, based off of content.crud.test in CCK. |
cck_phone.crud_input.test |
tests/cck_phone.crud_input.test |
|
Testing CRUD API for user input. |
cck_phone.css |
cck_phone.css |
|
.cck-phone-field .form-item {
margin: 0;
}
.cck-phone-column {
float: left;
}
.cck-phone-field-phone {
width: 15em;
}
.cck-phone-field-cc {
width: 25em;
}
.cck-phone-field-ext {
width: 9em;
}
.cck-phone-extension {
float: left;
margin:… |
cck_phone.info |
cck_phone.info |
|
name = Phone Number
description = "The phone module allows administrators to define a CCK field type for phone numbers."
package = CCK
dependencies[] = content
core = 6.x |
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.gb.test |
tests/phone.gb.test |
|
Testing US & Canada phone numbers. |
phone.my.inc |
includes/phone.my.inc |
|
CCK Field for Malaysia phone numbers. |
phone.my.test |
tests/phone.my.test |
|
Testing 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. |
phone.us.test |
tests/phone.us.test |
|
Testing US & Canada 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… |