I'm a newbie so may have missed something obvious, but have not been able to get nodecomments to work. In any event, I did my best to follow the instructions on the project page (is there more how-to documentation for node comments other than what's there? Can't seem to find any):

  • I disabled the core comment module.
  • I installed node comments rc3.
  • I used the default content type "comment" that came with the module.
  • For content type "comment" I did not choose anything from "Node type for comments" or "Comment view" drop-downs, b/c I didn't want further comments attached to my comments node (seemed redundant) Was that the right thing to do?
  • For the content type I wanted to attach comments to, a content type called "Questions," I chose "comment" from the "Node type for comments" menu and "nodecomments" from the views menu. Was that the right thing to do?
  • I moved the default template file that came with node comments into the theme directory as instructed.
  • Is there anything else I needed to do? I really didn't do much of anything with the nodecomments view. Do I need to?

    Right now, nodes associated with the content type "Questions" I thought I had attached node comments to are neither displaying the comments form nor comments themselves added through that content type.

    Any thoughts?

    Comments

    sirkitree’s picture

    Seems like you did things correctly. Item 4 and 5 listed above were correct.

    When you view a question node, say node/5 is there a link saying Add new Comment?

    If you try to manually go to node/add/comment/$nid ($nid = the node id of your question node) what do you see?

    fumbling’s picture

    Thanks sirkitree. No, when I view a particular question node there is no link to add a new comment. However, when I go directly to the node/add/comment/$id for that question, I do see the form to add a comment, so that piece is working. Any thoughts?

    sirkitree’s picture

    Do you have any sort of specific template file or code pertaining to your question content type? Perhaps not printing out the $links var?

    fumbling’s picture

    Thanks for the follow up. I don't think it's related to the Question content type b/c I tried it with the default content type Story, using the same settings and got the same outcome.

    Hmm, is there anything in particular I'm supposed to do with the nodecomments view perhaps to activate this to work?

    Or is there a particular place I'm supposed to put the template that comes with nodecomments in the theme directory? I just dropped it into the top level of the theme directory. I also didn't rename it since I kept the comments content type named "comment"

    sirkitree’s picture

    The tpl files go into your current theme folder, but that shouldn't affect the link not showing up unless you've custom template files for your other content types. The links themselves are produced by the hook_links() function and should show up on any content type setting look like this: http://img.skitch.com/20081017-84ywg8j734hd22mij36ay4am86.jpg

    fumbling’s picture

    Thanks for all this help. My content type looks just like you're screenshot, so I figured it had to be something simple I'd forgotten and it was-- a permission setting. I'm not logged in w/ my UID1 but with another admin account that doesn't get permissions to see add-comment by default.

    So now it's there. Thanks!

    sirkitree’s picture

    Status: Active » Fixed

    No problem. Glad you found it. checking permissions always slips my mind too ;)

    Anonymous’s picture

    Status: Fixed » Closed (fixed)

    Automatically closed -- issue fixed for two weeks with no activity.