this is my problem,

  • A node is in unpublished state
  • The "View own unpublished content" permission is set
  • The node author posted a comment on the node, but the comment is not getting rendered in the node page
  • The super admin user though can see the comment.

Is this normal in Drupal 7? If so, how can I make those comments visible for the node author?

Hope I can explain my problem, thanks...

  • Something like drupal.org/project/su_comments maybe? – Clive May 20 '14 at 14:33
  • Nope, i dont think so, this module is for published node with anonymous user comments/unpublished comments. But my requirement is for unpublished content bt with comment from the author of that node. – Pratip Ghosh May 20 '14 at 14:40

I vaguely remember I had once an issue with viewing unpublished content and the view_unpublished module offered me a better granularity that solved my issue.

Otherwise I would say creating a view showing comments in relation with the node, using a contextual filter nid, and without the filter "content: published" might help.

  • The module did the trick. Would u believe, i ran thru that module before like 4-5 times, bt nowhere in their documentation is it written that it also makes the comments visible. So I never thought of installing it. :P But suggested by u, i tried the module nevertheless, and mereley granting the permission for that to see the unpublished node-type did it. Thanks... – Pratip Ghosh May 21 '14 at 6:21
  • Cool, when I used it the first time I had a visibility issue as well and tried it hopelessly and it worked too. Good you got it. – Tritof May 21 '14 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.