Views row operations

Component ID

1843622

Component name

Views row operations

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Views row operations provides a new views field which allows you to add buttons to a view row that trigger operations on that row. It extends the power of Views bulk operations so that each button can be configured in a very similar way to bulk operations.

Rationale: Less is more

Views bulk operations is an awesome module, which is designed to allow operations to be applied in bulk to a view. It's user interface is well suited for this objective, but it is a bit long-winded when you just want to apply an operation to only one item in a view.

The purpose of this module therefore is simply to reduce the number of clicks a user needs to perform in order to execute a 'bulk' operation on only a single row. With Views bulk operations, this can take up to 4 clicks and some scrolling: For example, if your operations are in a select drop down:

  1. select the row, then scroll back to the top
  2. open the select drop down
  3. choose the operation
  4. then click 'Execute'.

If you're using buttons for your bulk operations, there are less clicks (2), but still potentially a bit of scrolling.

With Views row operations, a user can simply find the row in the view and click a button in the row to perform an operation on that item: 1 click!

Usage

To use, first install this module, then:

  1. Create a view
  2. Add a 'Row operations' field to the view
  3. Configure the field to include the operations you want, with the options you specify
  4. Load the view, and try clicking your buttons!

Dependencies and Limitations

This module builds on Views bulk operations, so obviously that is a dependency.

You can put a row operations field in a view that doesn't have a bulk operations field, and you can have both a bulk operations field and a row operations field in the same view, but if you do the bulk operations field must come before the row operations field otherwise your operations will crash!

This module is new, and needs testing. Please report any bugs in the issue queue, and I will try to fix them.