Last updated 20 May 2012. Created on 18 November 2008.
Edited by ipwa, bojanz, bfr, wmostrey. Log in to edit this page.

This is a documentation page for Views Bulk Operations

To setup a simple view which has operations take these steps:

1. Edit the default view the module gives you (/admin/content/node2) or make a new view and set the style to Bulk Operations.

2. Click the gears next to Style: Bulk Operations in the Basic settings box of your view.

3. Scroll to the end of the page and click on the checkboxes of the actions you want to use for your views.

4. Go to your view and all the actions you checked will be in the actions dropdown.

5. Try out an action on some nodes like adding taxonomy terms.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

Linulo’s picture

I just wanted to say a big thank you to Karim. This module makes life a lot easier for all who have to manage large amounts of content in a Drupal site. It's a big step forward from hacking error-prone SQL into a console (or worse, phpMyAdmin). Keep this little baby in the back of your mind (or better: in your modules directory) if you plan on doing tasks like mass delete, filtering huge amounts of free tagging terms or even exotic stuff like sending an email to every user in which you quote their last comment on your site.

texas-bronius’s picture

It would be helpful to have a link back to the Views Bulk Operations project page in this nice guide.

--
http://drupaltees.com
80s themed Drupal T-Shirts

supertux2’s picture

Thank you for this module! It was essential to convert storylink to page.

For those who need it, I created a CCK text field (field_url) and copied the contents of vote_storylink_url for it.

Views Bulk used:

$object->field_url[0]['value'] = $object->vote_storylink_url;
node_save($object);

Now I will convert the content type storylink with the module Node Convert without losing the url!

candelas’s picture

thanks :)

//trying to answer one question for each one that i make.
//this way, drupal will be more friendly and strong

ditcheva’s picture

In Drupal 7, this is implemented as a field, as opposed to as a style. So you just need to add 'Content: Bulk operations' to your view to implement this functionality.

danbohea’s picture

That was confusing me for a bit there... Looks like they've updated the doc. Top work.

Mr. Freeman’s picture

does not show the result, shows "array"

MakeOnlineShop’s picture

Bulk edit nodes taxonomy ?

Hello,

I would like to delete all my BLOG nodes keywords and add the same keyword to all these nodes, can you tell me how to do ?

Thank you so much for your help.