This feature adds a weight column to {custom_pagers} and a weight field to the pagers overview. When you get to the end of one pager, the paging continues on with the next pager in the order. This lets you chain pagers together for even longer navigation structures.

The attached patch is in progress. Implemented are:

- The weight column and its update function
- The weight field on the pagers admin page
- The correct behavior at the beginning and ends of pagers is observed (they page onto the correct next or previous pager)

Still to implement:

- Drag'n'Drop sorting of the pager weights
- The ability to turn this feature off
- Absolute certainty that no endless recursive loops can happen in function _custom_pagers_visibility

But hey - who needs absolute certainty that no endless recursive loops occur?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

robertDouglass’s picture

Nice empty file I uploaded.

robertDouglass’s picture

FileSize
9.21 KB

Working code (still minus tablesort) against DRUPAL-6--1 (previous patch was against some other ghetto version)