By meinsier on
Hello,
I'm new french user of Drupal since one month.
I've a question about profile module, and fields personalisation.
I would like to complete user profile with a field list, this field permit him to select a preference of Sport for example.
But, the list of sport is in a XML file, and I would like to import this file in the field list of profile config.
Can I add a field like list value, with value from external XML file, like CCK Field permit us (with PHP code and simplexmlload function), but I can't add CCK Field in profil module.
Thanks you for your help.
Comments
You Can USe Node Profile
Hi You can use node profile module in which you can use cck field
Kuldip Gohil
Thank you for this
Thank you for this information.
I've just tested this module and it's true that works.
But I've a question, is it possible to delete or not appear the description field that the content type Profile created by default ?
I would like to create a Profile content type without field to begin, and add only CCK field on this content type.
I would like my profile form like :
- no title
- no description
- address
- my list of choice with XML file
- two other list
- phone number
Is it possible to do ?
Thank you for response. (and your quickly last response)
remove body
remove the body field of ur cck ... ur description will be gone!
-- Sree --
IRC Nick: sreeveturi
hi you can remove body and
hi
you can remove body and title using form_alter hook ,
you have to create module and thne use form alter hook to alter.
Kuldip Gohil
Thank you for this
Thank you for this information.
I'll try this in the afternoon and tell you after.
form_alter
hi
you can remove body and title using form_alter hook ,
you have to create module and thne use form alter hook to alter.
Kuldip Gohil
Thank you sree, but it's not
Thank you sree, but it's not easy to understand what you mean for a beginner like me ;-)
edit ur cck
when you go to admin>> content mgmt>> content types:
there go to ur cck type & then edit it .... you get a form .... when you go below ... u can find a field called 'body' field you remove that your description goes off!
-- Sree --
IRC Nick: sreeveturi
Oh yes, I understand now, I
Oh yes, I understand now, I was sure this field was required.
Thank you for your help.
I've begun to do my profile form with content type and CCK, it's very easy to use, but my profile CSV export module don't permit me to choice any field CCK field, is there a solution whith an other export module or I have to develop a new module to export my users ?
I'll got the same problem with birthday module !
node import
did you tried node import module?
-- Sree --
IRC Nick: sreeveturi
Hello, I'm trying node
Hello,
I'm trying node import module, but it's an import module, but not export ?
And if an export node module exist, could I use it for export Profile node type + profile Email information ?
Thanks.