Is there a way to prepopulate the VBO views object with the "selected" nids so that instead of displaying the selection screen, it displays the advanced action form page?

Comments

infojunkie’s picture

You mean pre-selecting all the results in the view to bypass the view page altogether? Not currently. What's your usage scenario?

justintime’s picture

My use case is the gallery of images and sorting. I currently have a VBO where the gallery is passed in via an argument, and all child images are made available for selection by the user. This works great for setting the author, publish/unpublish, etc.

However, when it comes to assigning weights (sorting), 99.9% of the time, the user will want to select all images under the parent gallery, and assign weights to all of the images. I was hoping to create another VBO view that took the parent gallery as an argument, and automatically selected all images, selected "Assign weight" as the action, and dropped the user straight into the advanced action form. Basically, we fill in the blanks for the user on step 1 and proceed directly to step 2.

I'll be writing this view as a "tab" (MENU_LOCAL_TASK) on nodes of a gallery type, so if it requires setting some values on the views object in PHP, I'm open to that.

infojunkie’s picture

Version: 6.x-1.8 » 6.x-1.x-dev
Category: support » feature
Naiya’s picture

subscribing.

bojanz’s picture

Status: Active » Closed (won't fix)

6.x-1.x is feature frozen at this point. In addition, this issue is very old and hasn't received any attention in years.