From Wikimedia Commons, the free media repository
Jump to: navigation, search
Original file(WebM audio/video file, Vorbis/VP8, length 1 min 59 s, 1,422 × 800 pixels, 535 kbps overall)


English: A brief recipe describing how to create a bulk action to update content created dates. This recipe uses the Rules and Views Bulk Operations modules.


I have a view of randomly generated articles I'd like to be able to change the post date on multiple articles without having to edit them individually. To do this, I will rely on two additional modules: Rules, including the Rules UI and Views Bulk Operations.

In order for Views Bulk Operations to integrate with Rules we have to create, what are called, Components. Components are simply re-usable rules.

I'll add a new component, in this case I'll just add an Action Set. The action set will be called "change post date". It's affecting Articles, so I'll go ahead and add a tag of "articles".

The component can take variables. In this case, I'm going to pass in a node, labeled "article", and I'm going to ask the user for a date.

We'll need one action performed inside of this [rule] and that will be to "set a data value" on the article created date. For the "data value", I will switch to "data selection mode" and allow the end user to specify a post date.

That's it, the changes have been saved. I'll navigate to my view for articles. I'll add a new field. Right up top is the "Bulk operations" for content. I'll label this "operations". Down here you can select "change post date". And I'll save the view. I'll navigate to the articles view.And now there's an operations select box, including my "change post date".

In the checkbox column on the right side, I'll select several articles. [Use] my "change post date" operation. I'll simply change the year. Lets post these in 2012. It's going to confirm, perform the process on the selected items.

Now, scrolling to the bottom I see I have three articles published in 2012.
Source Own work
Author Brylie Christopher Oxley


I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

current07:35, 20 May 20141 min 59 s, 1,422 × 800 (7.6 MB)Brylie (talk | contribs)User created page with UploadWizard
  • You cannot overwrite this file.

There are no pages that link to this file.

Transcode status

Update transcode status
StatusTranscode derivative descriptionDownload derivative
Completed transcode 07:35, 20 May 2014Low bandwidth Ogg video (160P)
Completed transcode 07:36, 20 May 2014Web streamable Ogg video (360P)
Completed transcode 07:36, 20 May 2014Web streamable WebM (360P)
Completed transcode 07:36, 20 May 2014Web streamable Ogg video (480P)
Completed transcode 07:36, 20 May 2014Web streamable WebM (480P)
Completed transcode 07:38, 20 May 2014High quality downloadable WebM (720P)