Hello!

I need your help/advice on configuring in more detail a Rules setup. Organic Groups comes with a default rule which allows me to email group members upon saving a new node. Works like a charm. However...

1. I'd like the user saving the node to have the option to select (maybe a checkbox in the node-add form?) whether or not that email should be sent out.

2. I know this one will be more complex, but I'd also love to be able to choose (using checkboxes) which group members get emailed upon saving the node. I can list users using views maybe? But how would i select them and then pass that selection on to Rules?

THANKS! :)

Comments

mitchell’s picture

Title: Email OG only when checked » Expose checkbox option to receive email
Version: 7.x-2.0-alpha5 » 7.x-2.1
Component: Miscellaneous » Rules Core
tr’s picture

Issue summary: View changes
Status: Active » Fixed

I think you can do this easily with a boolean field ("Send email") on the content type - this field can be hidden from the node view and only present on the node edit form. Then edit the OG Rule and add a condition to check that boolean field before you send the mail.

tr’s picture

Status: Fixed » Closed (fixed)