Maybe I am doing something horribly wrong, but I've read the readme and the support request and I haven't found my answer yet.

I want to add Kudos to comments only of articles (we're a news Web site). Something like "agree" as a kudo and "disagree" as a separate kudo.

I can see the form to add kudos, but not the actual kudos that a comment has received themselves (like, 4 people have agreed with this comment).

Is there a block I need to add (or a function to add to comment.tpl.php) to see this?

Comments

pazzypunk’s picture

I was able to make this work, if anyone is looking at this ...

You can see it in action at http://www.sunjournal.com.

Here's how I did it.

In my custom module, I have this function:

function sunjournal_custom_link($type, $object, $teaser = FALSE) {
$links = array();

if($type == 'comment') {

/* To add Kudos to comments*/
if(module_exists('kudos')) {
$links['kudos'] = array(
'title' => kudos_content_stats('comment', $object->cid),
'html' => TRUE,
);
}

}
return $links;
}