2

I'm baffled by this issue on my new site. I have double checked permissions to verify that authenticated users can post so I'm just getting that out of the way first off.

However, what is odd is that each node (where I rely off of the default Drupal node template, and those in which I have created a custom template) has a "Login or Register to Post Comments" div and appropriate links, however, when I login as a test user, there is no comment form.

I'm not sure where to go from here, as even my Admin account cannot see the comments form.

EDIT-----------

Also, all comment settings are set to "Open" for all content types and individual content postings.

EDIT-----------

I have rebuilt the permissions as well, just in case. Nothing has changed.

EDIT-----------

I happened to remember that I had previously posted a test comment on one of the pages, and now I can't see that comment, even if I go through the admin panels. I can see that there is a comment, but I cannot see the comment itself.

  • Perhaps your template file is not printing the comments. Check your node.tpl.php file, located in /sites/all/themes/YourTheme/templates folder. It should have <?php print render($content['comments']); ?> in there. Also, check any other node template if have others. Ex: node--articles.tpl.php – No Sssweat Mar 17 '16 at 3:32
  • I just double checked all of them, and each one has the exact code you mentioned, the only time it is referenced to elsewhere in the template file is here <?php // We hide the comments and links now so that we can render them later. hide($content['comments']); hide($content['links']); ?> otherwise, there is nothing else. Should I remove this hide now code? – Matthew Mar 17 '16 at 3:40
  • mine also has the hide($content['comments']); hide($content['links']); so I don't think that's the problem. – No Sssweat Mar 17 '16 at 3:48
  • In your Content Type >> Manage Display >> on the top right there is a Comments link, click on it. Are your comments visible? – No Sssweat Mar 17 '16 at 3:50
  • Do you mean "Comment Display"?, if not there is nothing besides "Comment Fields" in the top right. If you are referring to "Comment Display", it is showing that the comments are visible and are not hidden. And I'm sorry if I'm drawing out things, I just want to make sure I don't make a stupid mistake on my end. – Matthew Mar 17 '16 at 4:02
1

Turns out the solution was to Disable Panels

or you could add the comment form to the Panel.

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.