events-radar / drupal-make

Radar site - Drupal drush makefile
2 stars 1 forks source link

Notify groups of pending events #53

Closed ifrik closed 9 years ago

ifrik commented 9 years ago

Notifications are sent out if an event is still unpublished, for example if it is only posted into a group that the user cannot post events into. But if a second group is added into the user can post events, then the event is published, and therefore no notification is sent out. So the condition should not be "is unpublished" but "group is in the requested field"

ifrik commented 9 years ago

It's possible to change the condition to "entity has og_request" so that it's send out if the posting is requested for a group, instead of if it's unpublished. 1) The notification email comes from site:og_context - which is the one group in which the add-event form is. I can't find a way to get to the content of the notification field of any of the groups listed in the groups fields. 2) I can send an email to all group managers from the group audience but I can't restricted them to group managers that come from the og_request field.