views 2

Exporting users with Views Bulk Operations

Have you ever needed to export users into a csv file from Drupal? Working in corporate environments, I've had to do this many a time, and it's usually a PITA. However, the new Views Bulk Operations (or VBO) just made that job much, much easier. VBO is an awesome style plugin for Views 2 that can turn pretty much any view into an administrative interface for bulk operations by allowing you to apply system actions and hook_[user/node/comment]_operations() to whatever your view displays. You can read more about it on the project page; I'm just here to tell you about how I used it to make a common task a lot easier.

Using Views 2 with Your Drupal 6 Module

After recently taking over maintainer-ship of the nodecomment module in order to port it to Drupal 6, I found myself relearning Views integration; specifically, how to (1)make sure that nodecomment could provide a default view, and (2)provide a relationship handler to views so that there is an inherent relationship between a node and it's comments. Here's some notes I took as I went.

File name change

Pages

Subscribe to RSS - views 2