ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Show "comment count" for each entry to a weblog from multi-listing page - possible?

July 05, 2007 5:57pm

Subscribe [1]
  • #1 / Jul 05, 2007 5:57pm

    hothousegraphix

    851 posts

    I’ve done a bunch of digging, but can’t seem to find a similar situation. I’m interested in providing, as a summary item, the count of the number of comments made to a single weblog entry from a multi-listing page. I hope that makes sense.

    {exp:weblog:entries weblog="articles" display_by="week" week_sort="desc" show_current_week="yes" start_day="Sunday" limit="3"}
    <h3 class="leadArticle">{exp:char_limit total="40"}{title}{/exp:char_limit}</h3>
    //would like to show comment count here
    {if articleImage ==""}{articleSummary}<a href="http://{title_permalink=test/ArticlePage}">...more</a>{if:else}
    {articleImgThumb}
    {articleSummary}<a href="http://{title_permalink=test/ArticlePage}">...more</a>{/if}
    {/exp:weblog:entries}

    Found this here but it still only displays total_comments for all entries made to a weblog rather then for each entry in a weblog.

    Is there a way to achieve this with EE?

  • #2 / Jul 05, 2007 6:01pm

    Lisa Wess

    20502 posts

  • #3 / Jul 05, 2007 6:05pm

    hothousegraphix

    851 posts

    :wow: Load have mercy! :wow:

    I spent about an hour and a half looking for this, obviously in the wrong place.

    Thank you very much.

  • #4 / Jul 05, 2007 6:08pm

    Lisa Wess

    20502 posts

    You know I almost didn’t post that because I thought, “this must be more complicated than it seems” =)

  • #5 / Jul 05, 2007 6:27pm

    hothousegraphix

    851 posts

    I was obviously making more complicated then it seems/or needed to be.

    The one place I neglected to reference was weblog tags…I looked at all the comment tags, the Wiki, searched the forums.

    The one thing I find a bit frustrating is the fact that thought I may know what I’m ultimately trying to do, my searches seem sporadically successful in revealing the info I’m looking for. This is obviously a result of the parent search - my fault. But, I’m not quite sure how to improve the results I get.

  • #6 / Jul 05, 2007 8:04pm

    Lisa Wess

    20502 posts

    I just searched for “comment total” and the 6th entry down is it.

    If you have suggestions on how to ease the search, or some such, then I’d welcome them.  Feel free to post or email me with any you have. =)

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases