For 5.2, is there a way to notify the admins of any new content? My 'Business Listings' site allows users to create accounts and then create a listing, which will be unpublished until the admins review it. I found this: http://drupal.org/project/user_register_notify which notifies on creation of user account. Is there such a module which notifies on new content creation? Seems trivial to write anyhow, if I knew the correct hook. :) Thanks.
The hook would be hook_nodeapi, and you'd want to focus in on either the submit or the insert $op. But there is probably already something out there. Have you looked at the notify module? ( http://drupal.org/project/notify) William On 8/26/07, Fred Jones <fredthejonester@gmail.com> wrote:
For 5.2, is there a way to notify the admins of any new content? My 'Business Listings' site allows users to create accounts and then create a listing, which will be unpublished until the admins review it. I found this:
http://drupal.org/project/user_register_notify
which notifies on creation of user account.
Is there such a module which notifies on new content creation?
Seems trivial to write anyhow, if I knew the correct hook. :)
Thanks. -- [ Drupal support list | http://lists.drupal.org/ ]
William Smith wrote:
The hook would be hook_nodeapi, and you'd want to focus in on either the submit or the insert $op. But there is probably already something out there. Have you looked at the notify module? ( http://drupal.org/project/notify)
Perfect. Thank you very much! Fred
participants (2)
-
Fred Jones -
William Smith