I am guessing that someone somewhere already has asked the specific question but every search (both in google and drupal.org) is not giving a solution. The problem is the following:
- I have created a new content type which now has more than 300 nodes
- I have changed the comment policy from Read/Write to Disabled
Now, I want the specific policy to be applied to all individual nodes of the content type, and if possible have all the comments that have already been posted, deleted. I suspect that using SQL to directly modify the nodes of the specific type is an option (so is a piece of PHP code in the comment-form.tpl.php that will check for the content type and hide the comment form for specific node types) but I was wondering if there is a cleaner solution to do this.
Keep in mind, that for other node-specific options (like fivestar for example) you can choose whether you want to display them or not through the theming, but comment forms are different.
Thanks in advance for any help that you may be able to provide.
Comments
_
You can set the comment status of the nodes with
Not sure how you'd delete the comments.