Moderation scenario:
- Registered user publishes an entry using a front-end form that sets the entry to
disabled
. - Moderator receives email re new entry and changes status from
disabled
toenabled
in the CP. - User receives email informing them that the entry has been enabled.
I’ve got steps 2 & 3 working using both the Courier & Postmaster plugins independently. However, when the user edits their entry via another front-end-form, they also receive an email notification.
How can the user be notified only when the entry has been edited and the entry's status has been changed from disabled
to enabled
?
Courier blueprints:
Step 2: Triggers: entries.onSaveEntry
and Conditions: {{ entry.sectionId == '3' and isNewEntry ? 'true' : 'false' }}
Step 3: Triggers: entries.onSaveEntry
and Conditions: {{ entry.sectionId == '3' ? 'true' : 'false' }}