It would be nice to display the number of comments in the talk tab. I.e. "Comments (14)".
The user could use a placeholder in the title field in admin/settings/talk, i.e. "Comments (!count)".
It would be nice to display the number of comments in the talk tab. I.e. "Comments (14)".
The user could use a placeholder in the title field in admin/settings/talk, i.e. "Comments (!count)".
Comments
Comment #1
cwgordon7 commentedThe problem with that approach would be that the link is displayed using that title with a " (!count)" appended. How about a checkbox that, if checked, would display the number of comments in the tab?
Comment #2
sersim commentedThanks for you reply.
The checkbox was my first idea, and it would be fine too.
But I thought that the option I proposed could make the tab more customizable, in particular for translations.
I don't see where is the problem. The "!count" string (if present) should be replaced with the actual number of comments.
Comment #3
cwgordon7 commentedSure, but then for the actual link displayed at the bottom of the node, it will read something like "Talk (3) (3 comments)".
The solution here is to make two separate settings, one for the tab and the other for the link. Patches are welcome, otherwise I'll probably get to it sometime in the next month.
Comment #4
c0py commentedsubscribing
Comment #5
Gerben Zaagsma commentedsubscribing
Comment #6
gregglesI've got a patch to add "node_comment_count" as a token for token module - #511026: provide token for number of comments on a node.
If we combine that with #506658: Customizable titles everywhere using tokens then it is quite easy to provide all this and more, actually.
I think we should mark this as a duplicate of 506658 but will wait for cwgordon's feedback.
Comment #7
gregglesAs I work on this module more it seems like a real duplicate. To those interested, please try out the patches in the linked issues.
Comment #9
yerboo commentedComment #10
gregglesrestoring title.
Note that this isssue is closed as a duplicate and the feature is already provided in the module.