indilime (indilime) wrote in component_help,
indilime
indilime
component_help

I've been looking around, but I haven't been able to find anything about this - so I'm here as a last resort.

indilime
I'm currently using images in place of my comment links.

What I'd like to do is have text somewhere near the link that says how many comments have been left to an entry. Much like I have here, on my old (S1) style.

Can anyone help me with this?

Just in case...



<div class="entryComments">

""";
# First we print the comment links if the entry allows comments
if ($e.comments.enabled) {


if ($e.comments.count > 0 or $e.comments.screened) {
"""<a href="$e.comments.read_url"><img src="url" /></a>""";
""" &nbsp; """;
}
"""<a href="$e.comments.post_url"><img src="url" /></a>""";

}
"""
</div>
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 8 comments