Extend the full pager

Created on 17 November 2020, over 3 years ago
Updated 23 June 2023, about 1 year ago

Problem/Motivation

Other contrib modules that extend/improve pager features (sometimes) implement hook_preprocess_pager() which won't be called with the current version of Views Infinite scroll because it uses its own theming function and template file. And/or rely on certain array elements, like 'items', to be filled, which is not the case with the current version of Views Infinite Scroll. Making them incompatible.

Steps to reproduce

Install for example https://www.drupal.org/project/pager_metadata β†’
It won't reach its goal when your View uses the Infite Scroll pager.

Proposed resolution

Extend the full pager.

Remaining tasks

  • Make it optional to make this feature would backwards compatible
  • Find a clever way to merge template needs, or refactor the Infinite Scroll javascript.

User interface changes

None, if the option to automatically scroll is on.
If automatic scroll is not on, a full pager is shown instead of only a Load More button.

✨ Feature request
Status

Postponed: needs info

Version

1.0

Component

Miscellaneous

Created by

πŸ‡§πŸ‡ͺBelgium PieterDC Ghent

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Is this still an issue with 2.0.x? If yes, please update the version and set the status active again with clear steps or (best) with a test showing what's broken.

    2.0.x is the active development branch.

    If nobody replies, we should assume this is fixed and close this issue outdated.

    Thanks!

Production build 0.69.0 2024