Closed (works as designed)
Project:
Notify
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2022 at 16:42 UTC
Updated:
6 Aug 2022 at 20:21 UTC
Jump to comment: Most recent
Comments
Comment #2
gisleWhat is the use case?
A contact form submission goes to the inbox of whoever is configured to receive these (for the site contact form) or to the user (for the user contact form). A notification about a contact form submission will presumably go to the same inbox(es).
However, I there may something to this that I don't see at the moment. I am willing to consider it, if a good use case can be given.
Comment #3
tonytheferg commentedMy specific use case is for prayer requests for a church site.
Certain users are given permission to see prayer request submissions, and this would allow them to subscribe to be notified when new submissions are placed.
Comment #4
gisleWhy will they need to notified?
When someone uses the Contact form to submit a prayer request, the request will be in the inbox of the user permitted to see it, not?
So why do they need a notification in their inbox about it being there?
Comment #5
tonytheferg commentedYeah this may be outside of the scope. And I understand that. I am thinking about some sort of approval workflow where prayer requests come in, and then upon the approval of an administrator then notifications are sent out to those who subscribe to prayer requests. So I wouldn't be sending them out to everybody until they were approved. But of course this approval step wouldn't be handled by the module so I get why it might not make sense right up front.
Comment #6
tonytheferg commentedThe module still would be helpful in providing control over when users were notified about prayer requests.
Comment #7
gisleI think coupling this directly to the submission of the Contact form is out of scope, and it would need some sort of workflow management that is also out of scope for the module.
You should be able to implement this by creating a custom module to create a custom content type: "Approved prayer request". When an administrator receives the Contact submission they should be able to press a button to transform the contact form submission into a new node of type "Approved prayer request". You shall then be able to configure Notify to send out notifications about new such nodes to whoever should receive them.
Comment #8
tonytheferg commentedI'll close this and focus on other stuff for now. Thanks!
Comment #9
tonytheferg commentedActually, I may be able to use comments for prayer requests instead contact submissions. Then I could use drupal approval setup.
Or at least look at how they approve comments.