I installed the CCK and phone modules. How do I add phone number fields to a user profile?
I expected a new field type to appear at the bottom of the user profile screen, but it only shows the following fields:
"Add new field
* single-line textfield
* multi-line textfield
* checkbox
* list selection
* freeform list
* URL
* date"
I have CCK (cck-6.x-2.6.tar.gz) and phone (phone-6.x-2.11.tar.gz) modules installed and enabled, and am operating as an administrator with rights for everything EXCEPT "block module: use PHP for block visibility" and "content module: Use PHP input for field settings."
Does the phone module actually add a new type of field that I can use in user profiles? Or does it just validate certain fields? How do I use it?
Thanks.
Comments
_
CCK does not integrate with the core profile module. The core profile module is very basic-- if you want cck fields for profiles you need to use the content_profile module.
CCK / Phone for user profiles
I have cck, phone and content_profile installed and enabled, and I still don't see the phone field at the bottom of the user profile screen. These modules and versions are installed:
Drupal core: Drupal 6.14
Modules
Administration menu 6.x-1.5
Advanced help 6.x-1.2
Calendar 6.x-2.2
CAPTCHA 6.x-2.0
Content Construction Kit (CCK) 6.x-2.6
Content Profile 6.x-1.0-beta4
Custom CSS and JavaScript files 6.x-1.5
Date 6.x-2.4
Date picker formatter 6.x-1.0-beta1
Devel 6.x-1.18
FCKeditor - WYSIWYG HTML editor 6.x-1.4
FileField 6.x-3.2
getID3() 6.x-1.2
ImageField 6.x-3.2
IMCE 6.x-1.3
IMCE Wysiwyg bridge 6.x-1.0
jQuery UI 6.x-1.3
jQuery Update 6.x-1.1
Node import 6.x-1.0-rc4
Phone (CCK) 6.x-2.11
User Import 6.x-2.3
Views 6.x-2.7
Voting API 6.x-2.3
Wysiwyg 6.x-2.0
I still end up with the following profile. There does not appear to be a way to replace my telephone and fax fields with "phone" fields:
User Profile
Add new field
* single-line textfield
* multi-line textfield
* checkbox
* list selection
* freeform list
* URL
* date
Shouldn't there be a "phone" field type?
Thanks for your help.
_
When content_profile is enabled, it creates a new content type called "profile" iirc-- that's where your cck phone field needs to be added. There will also be a tab named "content profile" where you configure it to interact with the user page. While you can use both core profile and cck profiles, I'm not sure what the advantage would be-- i'd just modify the profile content type to have all the fields you want and disable the core profile module. This is described in the readme.txt file for the content_profile module as well.