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.
Probably I needed to create two separate issues, but since both of them related to comment controls, let me explain here.
1) After replacing comment-wrapper.tpl.php file comment controls disappeared. Of course, it is activated to be displayed above the comments and appears back if I put the original comment-wrapper.tpl.php back.
2) Comments bonus API's comment-wrapper.tpl.php does not respect comment display order settings. I have set "Date - newest first" for the content type, but it always displays "Date - oldest first".
Comments
Comment #1
yngens CreditAttribution: yngens commentedSeems like it also does not respect settings for "Default comments per page". I have set to display 10 comments per page, however viewing the node with 30 comments it displays all the comments under the node in one page.
Comment #2
savioret CreditAttribution: savioret commentedjust add to comment-wrapper.tpl.php :
print $controls
Comments bonus api just overrides the comments visualization to a manual way, it splits all comment "regions" in variables and you can put them wherever you like in the comment-wrapper file.
Seems that the module author forgot to add the $controls var to the template.
The problem for this is that you cannot, for example, choose if you want comment-controls above or below, you must go to the comment-wrapper.tpl.php file and print the variable where you want it.
About the number of comments, it works for me.
Comment #3
savioret CreditAttribution: savioret commentedI think you are right about the number of comments per page, this is an ajax_comments bug, not Comments Bonus Api.
Here there is a patch for ajax_comments module that solves the problem:
#1267214: Patch with several bugfixes
Comment #4
qzmenkoIssue is closed because 6.x version is unsupported. Feel free to open new issue for 7.x or 8.x versions of module.