Hello,
I have a view with VBO action to "modify fields." I need to pass the value of the View "contextual filter" (which in my case is a Group ID) through to the VBO action form as a URL parameter (i.e. "group=[value]").
The current URL that redirects to the "confirgure" page is this:
/views-bulk-operations/configure/[search_id]/[page_id]
What I need is this:
/views-bulk-operations/configure/[search_id]/[page_id]?group=[value]
Note, "group" is the name of the parameter, "[value]" is the Group ID from the contextual filter.
I've tried build a custom module, but it's not working. I'd be happy to share that code. I think three things need to happen:
- Get the value from the contextual filter on the View,
- Create the parameter with value, and
- Amend the redirect URL with the parameter
Any hints, suggestions, and idea would be appreciated.
Thanks!
Comments
I think this would be a great
I think this would be a great group get-together after the new year. There are several ways to get this done. Let me know if you want to do this as a group.
Follow-up
Sorry for the delayed follow-up, I got caught up in life. Thanks for the offer to help with the VBO issue. Like many things in Drupal, there are many ways to do a specific thing. In my case I have been working with the ECA module (https://www.drupal.org/project/eca_) and found good success with the VBO sub-module.
BTW, is the Spokane group still meeting?