Drupal 7 Suppress Your Comment Has Been Queued for Review
When new content is created, Drupal sets this system message:
"[content-type] [content title] has been created."
Is there any way this message tin can be unset or overridden with an Action?
Source: https://www.drupal.org/project/rules/issues/1102916
Comments
Subscribing. I'd besides like to be able to exercise this, specifically so that I can override the default message when a user saves changes to their account.
Yep delight. Not only this message, but whatsoever message created for the same result we are working on with the Dominion.
If that event has already a bulletin and we set one inside the Rule we will have both :(
Is there some configuration nosotros are missing?
Seeking how to solve this issue, too...
Comment #6
Torenware Credit Attribution: Torenware equally a volunteer commented
You'd need a custom action to exercise this. This actually isn't that hard to practice.
In YOUR_MODULE.rules.inc:
I haven't tested this (been a while since I worked on Drupal 7; I'm doing D8 at present), simply this should be close to what you want.
Thank you, Rob. I solved my initial problem without Rules, though.
In fact, I needed a bit more - to show unlike status letters depending on whether a content was published or not. It'southward needed for forum topics simply.
Hither is my code:
Ref (rus): www.ishmuradov.com/page/drupal-7-izmenjaem-statusnye-soobshhenija
Promise this helps someone,
Alexander
Hither is code for a Rules activeness to clear all or some messages from the site (specified by blazon and/or regular expression practical to the message text):
Comment #9
TR Credit Attribution: TR commented
This seems to accept been answered several times already.
Many thanks for the code in #8. Information technology worked perfectly!