VideoCache

Can't distinguish read & unread comments.

by Gurpartap Singh on 27 Nov 2008

I always expect Drupal comments to bear at least "new" tag, or a different coloring for the specific comment, if it hasn't been read by the user already. This isn't working on this forum and I'm usually compelled to goto #new fragment and ride the complete discussion :P

6 Answers

by Kulbir Saini on 27 Nov 2008

Man! You are the drupal expert. You suggest whats wrong here?

by Gurpartap Singh on 27 Nov 2008

Check for $new usage in comment.tpl.php. If it isn't there, copy the tag line from garland and adjust it (would take 30 seconds). Even otherwise, you may want to pastebin comment.tpl.php so that I can suggest something decent.

by Kulbir Saini on 27 Nov 2008

I tried looking in the comment.tpl.php but it looks totally different from garland theme. Here is the comment template. The theme is Marinelli. May be you can submit a patch to the theme :)

by Gurpartap Singh on 29 Nov 2008

Add the following to your CSS:

.comment-new {
  background:transparent url(http://i38.tinypic.com/2nc4awm.png) no-repeat scroll 99% 4%;
}

:)

by Kulbir Saini on 29 Nov 2008

Thank you bai ji :)

by Gurpartap Singh on 2 Dec 2008

Np Ji.

It's looking great! :)

You need to sign in. Please sign in to add answer to this question.