Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've tried this module, to show a pager and cycle trought a list of node.
But I've noticed it's not compatible with display suite, the great node display modules suite.
The pager isn't exposed to display suite and can't be displayed when using this module.
Per aps it'll be not to difficult to expose the pager to display suite?
Comment | File | Size | Author |
---|---|---|---|
#4 | custom-pagers-1177912-4.patch | 1.56 KB | phenaproxima |
Comments
Comment #1
sw3b CreditAttribution: sw3b commentedTry create a custom pager in a block style instead attaching it to a node type, then in display suite create field block. This is a good workaround, and in display suite you can do what ever you want after.
This is what i'm doing for my gallery nodes and it's working great.
Comment #2
mrP CreditAttribution: mrP commentedthis is a great workaround for D7 as well.
@sw3b thanks a ton.
Comment #3
phenaproximaI found another way to work around this in D7, without having to do extra configuration.
Here's some code, which you can add to a custom module (just replace "MODULE" with the name of your module) which will expose custom pagers as preprocess fields in Display Suite.
This has the added benefit of being an easy patch that could be added to custom_pagers.
Comment #4
phenaproximaPatch for 7.x-1.x-dev attached.