Creating a node on using activation

Events happening in the community are now at Drupal community events on www.drupal.org.
sw3b's picture

Hi, I would like to know if it's possible to create a node when a user is created. The node will be assign to this user after the account is save. How can I do this ?

Thanks for your help !

Comments

Yes you can. Create node

ayesh's picture

Yes you can.
Create node action and "when user registers" event is available so the rest it up to you.

OK thanks I will look for

sw3b's picture

OK thanks I will look for that !

After looking and testing:

In Rules you create a new Rule with "After saving a new user account". Then you specified what ever you want for the condition and in the Action of that rule, and this where I was stuck, you must choose, create a new entity. After that, select node, the node type and all field necessary for the task to be done.

How to populate body of newly created node?

mvidelgauz's picture

Hello!

I am using a rule that creates new content when a webform is submitted. There are tokens that let me populate any CCK field from webform submitted data, but I cannot fill new content's body. In the list of actions there are "set content type" and "set content author" but no action for any other standard (non-CCK) field.

Is there any way to set node's body in a rule's action?

Thank you!

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: