HI there,

Can anybody give some hints(with a list of modules) on how to achieve this :

I have a site that offers several services to users.
Services : A, B, C , D , E , F....(already created with CCK)
Users: 1, 2, 3.....

user 1 with services B,D,F
user 2 with services A,E
user 3 with services E,F

How can i go about creating this , so that when these users logon , their individual(personal)services are displayed in a block(thanks to the view module).

The main problem here is how to assign users to services.

Thanks.

Comments

WorldFallz’s picture

The main problem here is how to assign users to services.

You could use a multivalue cck user reference field on the services content type.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

Tenx-1’s picture

multivalue cck ? is that a module ?
your suggestion seems brief , do you mind expanding it a lil bit

thx

WorldFallz’s picture

Sorry about that-- i'm talking about the http://drupal.org/project/cck module. There are several field types packaged with the default module-- user reference is one of them. Install the module, be sure to enable the user reference field type, then add a user reference field to the services content type. since you want more than one user associated with each service, set the 'Number of values' option however you like.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

Tenx-1’s picture

OK thanks for that .

Now could please tell me how to set up views so that only services registered with a user are display when they log on

Thx..