$CID next to comment

jskahan - January 24, 2007 - 19:01

Hi I just want to echo the $cid next to each comment. I'm running drupal 5. Any help would be appreciated. Thanks.

$comment->cid

voidengine - May 5, 2007 - 12:35

jskahan,
If I understand your question correctly, it sounds like you would need to put

<?php
print $comment->cid;
?>
in your comment.tpl.php file at the location you want it to appear.
Hope this is useful!

 
 

Drupal is a registered trademark of Dries Buytaert.