I would like to no if its possible to automatically run a vbo without the admins input. I no i can render the vbo on a page using php i would like to take it one step further however and run the vbo automatically once you are on the page without the admin having to click a button for the vbo to run

thank you

Comments

infojunkie’s picture

Version: 6.x-1.8 » 6.x-1.x-dev

Please explain the scenario in more detail. How can the action be executed before nodes are selected?

Not sure if it's related, but the dev version exposes an action called "Execute a VBO programmatically" that lets you select a VBO and an operation. This action can be called by Trigger or Rules, and it will apply the selected operation on all view results.

galis007’s picture

Thanks very much i think this is exactly what i was looking for i uploaded the dev module and i exposed the execute a vbo programmatically i now see that option in actions and have created my action but i am not seeing it in the rules not sure if im overlooking it or maybe im missing something. I figure the action i created should be under system in the dropdown menu. I am using rules-6.x-1.1

infojunkie’s picture

Category: task » feature
Status: Active » Fixed

Support for Rules needed some new code to be written in VBO. I just committed a fix so check out the latest dev (12 hours from now or from CVS directly). When you create a new rule, you should find the VBO action under a separate "Views Bulk Operations" section.

galis007’s picture

thanks for the update kratib just installed it though and im not seeing the vbo action nor the new section

infojunkie’s picture

Make sure the file views_bulk_operations.rules.inc is present in your folder.
Make sure there are no other versions of VBO lying around.
Refresh all caches :-)

galis007’s picture

thanks very much the prob was the cache

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

itangalo’s picture

Really awsome.
Thank you so much.

//Johan Falk, NodeOne, Sweden