This project is not covered by Drupal’s security advisory policy.

Sometimes a view will produce only a single result. In such a case, having the search results listed could be a bit redundant and cutting out this step (thus skipping directly to the content) is more user friendly. That is exactly what Views Fast Forward does, without the need to put non-semantical, custom PHP inside your view's header/footer area.

This module gives you an extra option on each of your view's displays to enable such a fast forward if it returns just one result. The path that will be used to redirect to is fully configurable and supports token field replacement or can be detected automatically.

Installation

  1. Simply checkout the latest release of the module or directly download its *.tar.gz/*.zip
  2. Enable the module under admin/modules

How to use

  1. Go to the view/display you wish to fast forward
  2. In the Others listing under the Advanced heading you will find a new option called Fast forward
  3. Click on Disabled to enable and setup your redirection path

Todos

Below is a shortlist of items that are on my schedule to implement soon. Each point is linked to a feature request issue with the same name. Discussions about these points should be held in those issues.

Development

The module is currently in beta stage, which basically means that proper (unit) tests are setup, yet it lacks sufficient real world usage. Release candidates will flow out as soon as it has been proven stable enough on various live sites.

Further development

The module currently simply does what is says: redirect to a path on a single result view.

Yet, there may be more features or ideas that would fit nicely inside this module which
I did not think of yet. Or maybe there are other use cases which should be taken into
consideration. I'm open to everyone's input!

Please let me know all your ideas / features / worries via the issue queue.

This module is sponsored and maintained by Shisaa.jp.

Project information

Releases