Hello,

I'm newbie in Drupal. I'm still making website for some organization which needs a members database for storing data such Name, Business, address, city, country, phone, fax, email and website. I wonder what kind module that i can use for that purpose ?

Thank you for your advise

Comments

pkej’s picture

http://drupal.org/project/cck
http://drupal.org/project/addresses

Here is a handbook on using CCK: http://drupal.org/modules/cck/documentation

Note, it might refer to 4.7 and 5.x, but don't worry, the principles of creating CCK nodes and using CCK fields are the same.

If I were you I would create one CCK node called "Person" and one called "Address", then you could use nodereference (part of the CCK module) to add one or more addresses to each person.

There also is something called CiviCRM http://civicrm.org/ which can be embedded in Drupal, it might or might not be overkill for your organization.

Read this http://drupal.org/node/105808 for a great example of why you should create different CCK node types for different parts of your organization. You'll also learn a little about organic groups, which might be of interest for you.

Paul K Egell-Johnsen

Paul K Egell-Johnsen

h0b0ng’s picture

Thank you for your replay ...
Because I'm totally new to Drupal system could you please guide me step by step how to create node Person and Address then link by nodereference for example that i do are :
Administer => Content Types => Add Content Type :
Name = Person
Type = Person Name
Discription = Bla Bla ...

Then in Person Node I add fields :
Address : type text
City : type text
Phone Num : type text
Fax Num : type text

is that correct ?

Thank you very much

pkej’s picture

Not exactly:

(add these modules as well: http://drupal.org/project/email and http://drupal.org/project/cck_fullname, if you are using 6.x I don't think the cck_fullname is available yet, then you just have to use text fields instead)

Name = Person
Type = person
Description = Persons are memebers of different bla bla

In Person Node you add fields:

Name : type Full Name Field
E-mail : type e-mail field
Address : type Address and allow unlimited repeats of it. Select the parts of the address which you need for your locale.

If this is for a local group, and you don't need sub groups of the org, you can also do the following:

Create a Taxonomy, call it organisation and set it to hierarchical. Add terms, for example President, Vice President, Treasurer.

If the org is a bit bigger than just a local chapter, you might want to create a node type for organisation as well, which can be like this:

Name = Organisation
Type = organisation
Discription = Bla Bla ...

And then you could add an additional field to the Person node type:

Member of : nodereference.

Look up noderefferer and nodereferrer create for even more flexibility out of the box.

Paul K Egell-Johnsen

Paul K Egell-Johnsen

h0b0ng’s picture

I can make Members page now. Using These steps.
I Create node Person which are containing Fileds Full Name, Address, city, phone and email ( all fields in text type )
Then I Create Node Member which is containing field Member Of ( noderefference ) .

When I access node Member there are Member name listing only. I wonder how to display their address, city and phone field instead of name with table layout ?

Can anyone help me ?

Thank you Very Much