Show system message to user when node is published

by Apoch8000   Last Updated March 13, 2018 08:07 AM

I'm looking for a way to show a system message to the author of a node, when the node gets published (by an administrator)

I think this must be achievable with Rules, but browsing the web and searching on stackoverflow did not help me out (yet).

This is what I did in Rules so far:

EVENT:After updating existing content of type Event

CONDITIONS: Content is published

ACTIONS: Show a message on the site

Tags : rules

Answers 1

System messages are displayed only once and for the current user. In your case it would be more appropriate to send an email when the node has been published.

To do so, create a following Rule:

  1. Event: After updating existing content; restrict it by content type if necessary.
  2. Condition: User has role(s), select administrator role and check Negate to make sure this rule does not get triggered for administrators.
  3. Condition: Data comparison, for Data to compare select that node-unchanged:status equals to Unpublished. This is to make sure old node was unpublished.
  4. Condition: Data comparison, for Data to compare select that node:status equals to Published. This is to make sure new node is published.
  5. Action: Send mail and configure it the way you want.

Hope this helps.

Aram Boyajyan
Aram Boyajyan
May 21, 2015 11:54 AM

Related Questions

Clone nodes and change fields with Rules and VBO

Updated May 20, 2015 20:03 PM