I have configured a block that shows the most recent comments. Now I'd like to mark a comment as new. The advanced forum block for instance adds a <span class="marker">new</span> to active topics. This is exactly what I want to have for the recent comments block. Any ideas?

Comments

ugerhard’s picture

You could override the core recent comments block with views' standard comment_recent-block. There you can use the handler "With updated mark" in the Comment subject field.

Tim99’s picture

I switched to that block, but where can I configure it? On the views page I see only one comments_recent view, that can't be configured.

ugerhard’s picture

You'll have to "add" the comments_recent view on the views page (see the column "actions" in the "Default views" section on admin/build/views), then you can edit it like any user-defined view.

SabbeRubbish’s picture

Hi,

I'm afraid that doesn't work for me... I'm running Drupal 5.7 and the forum module (amongst 50 others), and also the forum_access module. The only recent "comments" are responses to the forum topics (also in a block, dislpaying the "new" labels nicely). But the comments_recent View, although with comment subject set to "with updated mark" does not display any "new" things.

This is horrible for both the users and myself. As the admin, I would like to see which comments I've seen and which I haven't... Nor me, nor the other users see any marks...

Thanks for any help!

shawnp’s picture

In order to get this to work I had to edit the views_comment.inc file. I think it is a bug and I have submitted a patch which seems to resolve the problem in my case. http://drupal.org/node/289090

Tim99’s picture

Thank you! That worked.