1

I have a custom content type with multiple comment types.

  1. Query comments
  2. Discussion comments

I set the pagination limit for the both the comments as 10. The node detail page, when the number of comments exceeds 10, shows the pagination. For the discussion comments, only 10 comments are shown, even if they are more; no pagination is shown.

Why does this happen?

2

If you have more than one listing on a page, the pager ID for each needs to be different. This applies to views, but also comment lists.

The way to change this is under your content type's display settings (admin/structure/types/manage/MYTYPE/display). For the comment fields, click on the gear icon and you should see this configuration option:

enter image description here

So long as each comment type uses a different ID, the pagers should work independently of each other.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.