I've noticed that the title of the nodecomment view used to display comments is not respected. Regardless of what the "title" is set to for any of the view displays (including the title for the argument), it will still only show "Comments".

This is bad because people are using this module to create node types other than "comments". It would be much better if Node Comment used the title of the view when displaying the view on the node commented on.

Comments

arviaja’s picture

I have the same issue and would be curious to see a solution for that

arviaja’s picture

Ok, I checked it out. It actually doesn't lie in the hands of the module, it's part of the template. Check out the file "comment-wrapper.tpl.php" in your theme folder and look for:

  <h2 class="comments">
      <?php print format_plural($node->comment_count, '1 comment', '@count comments'); ?>
  </h2>

Replace the terms 'comment' and 'comments' with whatever you need. The only problem is that this changes the behavior for all comments.

OneTwoTait’s picture

Actually, I don't think that string is related to my original post. My original post is about the view title. It says "comments" above all the node-comments.

aCCa’s picture

I've same problem. Did somebody solve it ?
#2 doesn't work for me.

crea’s picture

Version: 6.x-2.0-beta6 » 6.x-3.x-dev

I think we may solve this in 3.x