NodeOne talks Drupal: Rules + VBO, revisited!

This screencast describes how to (1) call rule sets from Views Bulk Operations and (2) how to use Rules to call bulk operation views programmatically. It is a follow-up screencast from the Rules + Views Bulk Operations screencast a few days ago, describing what is going on in a slower pace and with less side tracks.

Note: This screencast can be downloaded from archive.org.

Hey! There's a whole new screencast series about Rules! It covers Rules + VBO but also a lot of other stuff.

Views Bulk Operations is a clever and useful machine to perform actions on stuff that Views can list. Rule sets are clever ways of creating new actions, and make them available to Views Bulk Operations (and other parts of Drupal). Rules is a clever way of automising follow-up actions on your site.

The point of combining Rules and VBO is that it allow you to use Views to fetch related objects on your site, and perform actions on them. Like what?

  • When a user is promoted to certain role, publish all her nodes.
  • When a node is unpublished, also unpublish all image nodes refering to it.
  • When a new comment is posted, send an e-mail to all users who have marked the node with a 'notify me' flag.

Please write a commen if you got one!

DISCLAIMER: Every Wednesday (or so) someone at NodeOne makes an unprestigious presentation about something related to Drupal. The presentation is mainly for internal use, but we have decided to share recordings of the presentations to anyone interested. They are shared as-is – there screencast is uncut, sometimes interrupted, can contain noises and bad sound capture. They can also contain useful information about Drupal.