Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 May 2009 at 10:57 UTC
Updated:
15 Jun 2009 at 23:00 UTC
I have just made my first module, which I call "Views argument selector". It uses VBO and the aggregate option to create an action that redirects the user to a new view using the selected nodes as arguments. This is useful in situations where you want to show a simple list of nodes where the user can select a few nodes for comparison in a more detailed view.
Feel free to make any changes to the code (including name changes) and bundle it with VBO or whatever you find appropriate. Let me know if you want me to add some kind of documentation or if there is anything else I can do to contribute further.
Cheers,
Adam
| Comment | File | Size | Author |
|---|---|---|---|
| views_argument_selector.zip | 1.09 KB | nadam |
Comments
Comment #1
infojunkieThanks for your contribution! I'll take a look at it soon as I get the chance.
Comment #2
infojunkieCommitted to D6 dev, thanks for a good job. Note that this action is not restricted to redirecting to views specifically: any page that can accept comma-separated nids will work. Also, it is not restricted to nodes: any object that VBO can handle can be sent this way. To achieve this last part, I declared the action to be of type 'system' instead of type 'node'. Cheers!
Comment #3
nadam commentedCool! I've tested it and it's still working as intended. I've also added a documentation page at http://drupal.org/node/479062. Feel free to make any changes if you want.
Cheers,
Adam
Comment #4
infojunkieSweet :-) Nice writeup, thanks again.