The Calendar module provides its own pager which allows you to page by date. What would be great is an additional pager that allow you to jump months through a select list. Any thoughts of providing an additional pager that can do this in pagerer?
The Calendar module provides its own pager which allows you to page by date. What would be great is an additional pager that allow you to jump months through a select list. Any thoughts of providing an additional pager that can do this in pagerer?
Comments
Comment #1
mondrakeHi nigelwaters,
and thank you for your interest in Pagerer.
I believe there are two answers (partially connected each other) to your question:
1) Most probably the Calendar module is implementing a pager plugin for Views to page through dates. A pager plugin is more than just a theme for rendering the pager elements - it connects with the underlying query used to retrieve the data. Every plugin will have its own logic and specifics. So a feature request should go to the Calendar module rather than to Pagerer.
2) Pagerer is built around the concept of providing alternative themes to 'visualize' Drupal standard, core pager - which is basically paging a set of records from the database as-is, without interacting with the content of such records. This is done through extending the database query with the PagerDefault class. Pagerer just relies on the same mechanism, just changing the way pages are presented on screen. To have paging through dates (or anything else, e.g. chapters/paragraphs, etc), Pagerer should tackle implementing other extensions classes to be able to deal with that. I am not planning to move in this direction (also, Views provides a very flexible plugin mechanism for that, and Views will be part of Drupal 8 core), although I understand there may be some merit in that. I am open to review patches and include in Pagerer if anybody has some sound proposals.
Comment #2
mondrake