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.
Add a button or link-style control for previous and next as a slide control option.
I am sure that this would not be an incredibly difficult option to add. I have tried finding a way to patch the code myself, and have not yet been successful. jQuery provides this ability out of the box, but I can't seem to find the proper place to patch the module for such a simple feature.
Comment | File | Size | Author |
---|---|---|---|
#5 | rotating_banner_prev_next.patch | 4.06 KB | james.elliott |
#1 | rotating_banner-843064.patch | 2.34 KB | Jackinloadup |
Comments
Comment #1
Jackinloadup CreditAttribution: Jackinloadup commentedHere is an initial working patch that needs work, but will give everyone a starting point I hope.
I added a checkbox at the bottom of the settings form to enable/disable prev next links.
My thoughts are that some people might want to choose to have buttons (numbered or not) as well as prev next links/arrows.
Comment #2
Jackinloadup CreditAttribution: Jackinloadup commentedCan this be considered for inclusion? I think its quite useful to have previous and next links.
Comment #3
brassington CreditAttribution: brassington commentedI agree! Please note that this is very useful and should be reviewed! Thanks jackinloadup for your hard work and contributed patch!
Comment #4
james.elliott CreditAttribution: james.elliott commentedThe patch looks good.
Comment #5
james.elliott CreditAttribution: james.elliott commentedI reworked your patch a bit and then committed it to HEAD. If you download a dev version of the module you will be able to select "Prev / Next" buttons from the controls dropdown.