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 and pagination

November 19, 2010 5:32pm

Subscribe [2]
  • #1 / Nov 19, 2010 5:32pm

    Ramya108

    123 posts

    I am trying to paginate comments for one of my weblog entries.
    I have more then 300 comments and I need to paginate them.

    I successfully applied the pagination tag. However, when I clik on Nex Page or Previous Page, I am directed to the beginning of the article.

    I would like the link to direct me to where comments start. How can this be achieved?

    Thank you in advance!

  • #2 / Nov 19, 2010 5:57pm

    Ramya108

    123 posts

    Ok, I figured that out.
    Just used an anchor link.

  • #3 / Sep 15, 2014 6:31am

    bobural

    20 posts

    Hi,

    Can you please provide us (the noobs) a little more info. I also have an entry for a channel and on that entry I have added the comment forms. My comments are displayed but when added the paginate links they do not shuffle through my comments.

    my code:

    {exp:comment:entries channel="news" sort="desc" limit="1" paginate="bottom"}
      {comment}
      By {name} on {comment_date format="%Y %m %d"}

      {paginate}
          {if previous_page}
            Previous Page  
          {/if}
          {if next_page}
            Next Page
          {/if}
      {/paginate}
    {/exp:comment:entries}


    Can anyone please help?
    Thank you.

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

ExpressionEngine News!

#eecms, #events, #releases