Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
arviaja CreditAttribution: arviaja commentedI have the same issue and would be curious to see a solution for that
Comment #2
arviaja CreditAttribution: arviaja commentedOk, 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:
Replace the terms 'comment' and 'comments' with whatever you need. The only problem is that this changes the behavior for all comments.
Comment #3
OneTwoTait CreditAttribution: OneTwoTait commentedActually, 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.
Comment #4
aCCa CreditAttribution: aCCa commentedI've same problem. Did somebody solve it ?
#2 doesn't work for me.
Comment #5
crea CreditAttribution: crea commentedI think we may solve this in 3.x