Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By giupenni on
Hi,
when a node is modified I want send at the author (and admin) a notified mail that shows the field that has been modified. Is possible?
Alternatively, is possible send a notified mail only when a specified field is modified?
With the node I have not problem but I can't show the field that has been modified.
Thank you in advance.
gp
Comments
Diff module
I needed to do something like this in the past and I used the Diff module which makes the [node:diff] token available to you.
I'm assuming you're using Rules to handle the "After updating existing content" event, at which point this token contains some formatted html showing the changes to the node which can be emailed to the author.
Thank you
Thank you JMC, I'm trying to use Diff module but in 'Actions' I not find the token [node:diff] .
...!
My mistake but still not
My mistake but still not works.
The token seems not works. I received an email with message body: (No previous revision available.)
I have configured the rules in this way:
Events: 'After updating existing content of type Proprietà'
Actions: 'Send Email' with parameters [node:diff] in message body.
I not understand.
...!
Maybe try the following:
Maybe try the following:
> check first that you have
> check first that you have revisions turned on for the content type(s) you want to do this on
>
works but unfortunately the output is no friendly for user. :(
And seems notified in email diff also fields that I have not changed.
...!
diff-markdown
I've just checked and I'm using [node:diff-markdown] which may be more user-friendly, also I think I'm sending HTML emails which may also help.
(I haven't encountered the issue with unchanged fields being included though)
With HTML is a bit friendly.
With HTML is a bit friendly.
Unfortunately I have another problem, the user must turn on the flag of revisions when edit he node.
And the user does not always do this.
I can force this?
...!
Default publishing options
In the content type settings, the default publishing options can be checked on "Create new revision", this will do it automatically for each edit.
Right!
Right!!!
Damn, I'm totally crazy.
...!