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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jackinloadup’s picture

Here 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.

Jackinloadup’s picture

Status: Active » Needs review

Can this be considered for inclusion? I think its quite useful to have previous and next links.

brassington’s picture

I agree! Please note that this is very useful and should be reviewed! Thanks jackinloadup for your hard work and contributed patch!

james.elliott’s picture

Status: Needs review » Reviewed & tested by the community

The patch looks good.

james.elliott’s picture

Version: 7.x-1.0-alpha4 » 7.x-7.x-dev
Status: Reviewed & tested by the community » Fixed
FileSize
4.06 KB

I 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.