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

  • Give them a hand!

    Alright, lets give some propz. This community has, without doubt, grown beyond anything I imagined it would be. Its still active, still strong, and…

  • Another Tip

    Speaking of saving your Themes locally, might as well write them locally, right? Check out the following tools for highlighting S2 syntax:…

  • reminder

    this is just a reminder that s2themes is currently holding the competition for best Component color theme. Winner gets their theme added…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 8 comments