By webdesignovice on
Hi I new to Drupal. Just have a few questions. Is it possible to have a comment to a specific content redirected to another page or e-mailed to the publisher of that content. I was trying to find a way to have certain comments or replies posted that can only be seen by the user who published the content or to have some comments/replies hidden by other users except the publisher of the content that was replied to.
Comments
Email notification to publisher of content
Hi,
I have created a short video tutorial which shows how to configure drupal to automaticaly send email notifications to node author after new comment has been published to this node. Everything you need is a Rules module - http://drupal.org/project/rules
tutorial: http://youtu.be/mh3B8Lp8TIc
Tomorrow, I will prepare another tutorial for you which will describe how to limit access to comments to other users than creator
comments publication and simple comments administration
Hello,
as I promise yesterday, here is another video tutorial which shows how to show only allowed comments to anonymous users and how to to let node authors to administer comments related to their own nodes
video: http://youtu.be/DlItXTVaQOA
Requirements:
- views
- views bulk operations
- simple custom module
Steps:
1. hide comments in node template
2. add on/off field to comment
3. create view block showing comments of actual node with limitation of that checkbox
4. add this block to the page
5. create simple view with views bulk operation module to administer comments
Templates (code preview):
node.tpl.php: http://pastebin.com/HcsLPNKt
mymodule.module: http://pastebin.com/4m8ih3C1
---
Notice: Undefined index: comments in include() (line 38 of C:\www\drupalsupport\sites\all\themes\bartik\templates\comment-wrapper.tpl.php).
this notice is caused by default bartik comment-wrapper template and it will not cause problems in your custom theme
I try to be simple so I don't solve every problem in my tutorials
you are free to ask anything, I will try to help you :)
Thank you very much for your
Thank you very much for your response. I really appreciate your video tutorials, they were very detailed and easy for me to follow.