help with Rules

gmak - October 7, 2009 - 23:23

Hi,

I'm trying to create a Rule (using the rules.module) to send out a special email when a user account has been activated. Being new to Rules, this is proving challenging for me.

I've seen this: http://drupal.org/node/265369 and tried to import it into Rules, but the Rules module doesn't seem to like this workflow-ng definition.

Can anyone help?

Core.

tpainton - October 8, 2009 - 01:10

You don't really need to use rules. Just go to "user settings" in the admin page and customize the email form there. It's listed under "account activation email"

Sorry, I should have given

gmak - October 8, 2009 - 23:09

Sorry, I should have given more information.

I need to include data generated from some the Content Profile module, when the user creates their account. This means that I need access to tokens, which the normal user creation/update email does not access (as far as I know).

okay

tpainton - October 8, 2009 - 23:26

using rules..

Use event : 'after saving new content', and then set up a condition that the content type must be the profile. You don't want to run the rule on every new content type you create..

Set the actions to 'send email to user'.

You will now find you have every token at your disposal.

 
 

Drupal is a registered trademark of Dries Buytaert.