Overview

Enables you to show cached views results randomly.

How it works

It makes the views to render all items, and on the client side via JavaScript mixes them.

Features

  • Mix items of cached view
  • Show random N items of cached view
  • Execute custom JS callback for showed items

Requirements

  • View and row templates should have $classes printed.
  • All items should be printed one by one, without columns.

Supported styles

The following styles have been tested and appear to work correctly:

  • Unformatted
  • Table
  • HTML List

Other styles may work; if they do not & you need it, please create an issue; support for it might be added in.

Usage

  1. Create a view
  2. Select 'Display randomly' pager
  3. Specify number of items to display

Sponsorship

...have a feature you'd like to sponsor? Get in touch

Support

If you've found the module particularly useful and want to say thank you, there's a wide range of stuff I'd welcome on my wish list (UK) (US).

Short name
views_random
Supporting organizations