You are hereForums / Suggestions / Can't distinguish read & unread comments.

Can't distinguish read & unread comments.


6 replies [Last post]
Offline
Joined: Nov 14 2008
Can't distinguish read & unread comments.
Printer-friendly versionSend to friend

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

admin's picture
Offline
Joined: Nov 2 2008

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

Offline
Joined: Nov 14 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.

admin's picture
Offline
Joined: Nov 2 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 :)

Offline
Joined: Nov 14 2008

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

:)

admin's picture
Offline
Joined: Nov 2 2008

Thank you bai ji :)

Offline
Joined: Nov 14 2008

Np Ji.

It's looking great! :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available for just $39.99. Secure your copy now by clicking the button below.
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 3 users and 108 guests online.