I have used this module, as written in its description that it changes the pager of comment page. But when i applied this module it also change the pager of other block placed on comment page. I dont want to change the pager of all the type ie i just want to change the pager of comments not any other block or contents.

Comments

nicorac’s picture

Status: Active » Postponed (maintainer needs more info)

If you have more than one pager in a single page, please check that they don't have the same ID.
Since comments pager ID can't be set (and it's fixed to 0), you must change the pager ID of the pager contained in your block.
If the block is generated by a view, edit view Block display, look at Pager section of the Block View, then change the Pager ID field to 1, 2, ...

Please let me know if it works, otherwise give further details about your configuration

waqarit’s picture

thanks, it has solved the problem just changing Pager ID . But why this happened? this should not be conflict with other pager.

nicorac’s picture

Assigned: Unassigned » nicorac
Status: Postponed (maintainer needs more info) » Closed (works as designed)

It won't interfere with other pagers as long as they have different IDs.
The page number a pager (and a paged content) is required to show is asked through the ?page=xxx URL fragment.

URL /node/12?page=4 means "show node 12 and set 5th page on pager 0" where pager 0 is - usually - the first (or only one) pager of the rendered content.

URL /node/12?page=[4,1] means "show node 12 and set 5th page on pager 0 and 2nd page on pager 1".

As you can see the page argument can contain page numbers of multiple pagers, but they must have different IDs to be distinguished.
This is a Drupal requirement.

I'll add this clarification to module description.

waqarit’s picture

thanks so much for clearing my concept. This is really informative and helpful. Keep it up