[support] question about actions

Jim Ruby jim at v-community.com
Wed Nov 2 19:28:43 UTC 2011


I tried the rules module and currently have in a support request because it
don't work at least I'm not seeing an email generated and turning on the
debug log don't show me anything. If anyone can help here is the export of
the rule:

Export of reaction rule "send email for updated announcements"
Export
{ "rules_send_email_for_updated_announcements" : {
    "LABEL" : "send email for updated announcements",
    "PLUGIN" : "reaction rule",
    "REQUIRES" : [ "rules" ],
    "ON" : [ "node_update" ],
    "IF" : [
      { "node_is_of_type" : {
          "node" : [ "node" ],
          "type" : { "value" : { "advertisement" : "advertisement" } }
        }
      }
    ],
    "DO" : [
      { "mail" : {
          "to" : "jim at example.com",
          "subject" : "[site:name] Updated Announcement",
          "message" :
"[node:title]\r\n\r\n\r\n[node:body]\r\n\r\n[node:summary]\r\n\r\n\r\n[site:
name]\r\n[site:slogan]\r\n[site:url]"
        }
      }
    ]
  }
}
For importing copy the content of the text area and paste it into the import
page.

Follow me on:
Twitter: http://twitter.com/1rubytweets
Facebook: http://www.facebook.com/profile.php?id=1058306793
Join me on:
Yahoo: jruby6767
Msn: jruby at charter.net


-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Wipe_Out
Sent: Wednesday, November 02, 2011 3:17 AM
To: support at drupal.org
Subject: Re: [support] question about actions


On 2 November 2011 05:40, Jim Ruby <jim at v-community.com> wrote:


	Hi, I have a few different content types and am wondering if I can
have
	different emails sent to me for each content type.  Either I mist it
in the
	list of actions or there is something else I need to do, could
anyone let me
	know if this can be done?
	
	The things I will need and hope I can find the darn tokens for it is
	
	The term name
	Title
	Body
	Teaser
	Full link to node
	Full link to file attachment
	
	Thank you all, the drupal community is very helpful and a great
bunch of
	people to work with.
	
	
	


Wouldn't it be easier using Rules?

I have just started looking at Actions, Triggers and Rules and Rules seems
to be far more flexible..

Just a thought.. 




More information about the support mailing list