Our admin/content/node page in core allows for selecting a bunch of nodes via node type, taxonomy, or status. And then Operations may be performed against the selected nodes. The list of Operations is nice and flexible - any module can provide an operation. But the criteria builder which builds the node list is impossible to extend. So one cannot, for example, select all the nodes in an organic group or all the nodes in a given workflow state. But this criteria building is a specialty of Views so ...
I propose a Views style plugin called Bulk Operations which renders your node list aenclosed within a form that has:
- a checkbox in leftmost column
- an Operations select box at top of View. this code comes from node_admin_nodes()
- a fapi submit handler of node_admin_nodes_submit()
So now, an admin can build a View with his exposed fillters like workflow states and OG and and such. Then he picks this bulk operations style plugin and he has a very powerful and customized version of admin/content/node. And much code was reused, so this plugin is fairly small.
This plugin would ship with a default View which simply reimplemented the admin/node/content page. Thats mainly as a demo.
Comments
Comment #1
fagothis is a great idea! So I second that feature request.
I'd consider reimplementing admin/node/content more as a demo. This would allow one to enhance and customize this page by using views!
Comment #2
merlinofchaos commentedThis is a great idea. I encourage someone to work on it -- this is the kind of project the bonus pack really adores. fago, I'll happily give you commit access to this if I ahven't already.
Comment #3
mfredrickson commentedFor your form, check out:
http://drupal.org/node/103171
Comment #4
JohnG-1 commented+1 yes :-)
Comment #5
infojunkieI'd independently started working on something similar. I will orient my work according to the recommendations above.
Comment #6
infojunkieViews Bulk Operations has been in active use for more than a year now so we can safely mark this as fixed.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.