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.

Comments not displaying on paginated blogs?

August 06, 2014 3:02pm

Subscribe [1]
  • #1 / Aug 06, 2014 3:02pm

    LI Pulse

    2 posts

    Hi everyone -

    I’m currently seeing an issue where I can’t figure out the solution. We have a number of blogs on our site, each as it’s own category. People can leave comments on articles, and in the template the stories can all appear on a single page, or as individual stories. If all on one page, comments do not appear when you go to another page, but will if you read the individual story.

    To (hopefully) make things clearer, some example links:

    http://www.lipulse.com/blog/category/pulse-point
    Page one of a blog. Comments render for stories when you look at the end of the story, like with “Jump Out of Bed”. I then use the pagination links to go to page 2:

    http://www.lipulse.com/blog/category/pulse-point/P5
    No comments appear under these stories, even if comments have been logged, for example, with “Eat a Cheeseburger”. To see the comments, you have to go to the individual article page, like so:

    http://www.lipulse.com/blog/article/eat-a-cheesburger

    The code being used to show comments is here, in case it helps:

    {exp:comment:entries channel="blog" entry_id="{entry_id}" sort="desc" limit="100"}
    
    <div class="{switch="comment-post|comment-alt-post"}">
            {name} wrote on {comment_date format='%F %d, %Y'}
            {comment}
        </div>
    {/exp:comment:entries}

    There are comments in the system, just not rendering. Does anyone have an idea what causes this? Thanks in advance!

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

ExpressionEngine News!

#eecms, #events, #releases