File:Drupal7-RulesComponents-ViewsBulkOperations-SetCreatedDate.webm

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(WebM audio/video file, VP8/Vorbis, length 1 min 59 s, 1,422 × 800 pixels, 535 kbps overall, file size: 7.6 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
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.

Transcript

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.
Date
Source Own work
Author Brylie Christopher Oxley

Licensing

[edit]
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 their 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.

Date/TimeThumbnailDimensionsUserComment
current07:35, 20 May 20141 min 59 s, 1,422 × 800 (7.6 MB)Brylie (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 720P 170 kbps Completed 22:24, 24 August 2018 1 min 19 s
Streaming 720p (VP9) 84 kbps Completed 00:09, 15 March 2024 1.0 s
VP9 480P 132 kbps Completed 22:24, 24 August 2018 54 s
Streaming 480p (VP9) 47 kbps Completed 23:00, 5 February 2024 1.0 s
VP9 360P 116 kbps Completed 22:24, 24 August 2018 42 s
Streaming 360p (VP9) 30 kbps Completed 05:20, 7 February 2024 1.0 s
VP9 240P 104 kbps Completed 22:23, 24 August 2018 35 s
Streaming 240p (VP9) 19 kbps Completed 06:24, 17 December 2023 2.0 s
WebM 360P 181 kbps Completed 07:36, 20 May 2014 54 s
Streaming 144p (MJPEG) 731 kbps Completed 04:44, 9 November 2023 4.0 s
Stereo (Opus) 82 kbps Completed 03:52, 22 November 2023 3.0 s
Stereo (MP3) 128 kbps Completed 01:19, 2 November 2023 3.0 s