Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.x-dev
Component:
Actions
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2009 at 18:05 UTC
Updated:
23 Feb 2012 at 19:13 UTC
My patch makes Recepient of Send e-mail action equal to '%autor' by default (you set it in 100% cases by hands) and hides this field from the form (turns it to 'hidden').
Please, check the patch, hope it'll save ton of man-hours.
| Comment | File | Size | Author |
|---|---|---|---|
| vbo_sender_hidden.patch | 1.25 KB | neochief |
Comments
Comment #1
neochief commentedTypo in title.
Comment #2
infojunkieThanks for your patch! While I agree that this is a usability improvement for the send email action, there are a couple of other concerns:
* VBO is meant as a generic engine. I don't want to insert action-specific code in the module.
* The send email action needs many more improvements, e.g. supporting attachments would be a killer feature.
I think a better approach would be to create a new action that can evolve on its own and that I can include in VBO (along with the other actions included here) or that lives in its own module.
Comment #3
neochief commentedI do agree that VBO is generic engine, but what will change if we'll add just another action inside VBO module? It's just the same. And if not VBO, where should we add this feature?
As for me, additional action is overkill. I agree that attachments is great feature, but it should probably provided somewhere else, maybe inside Rules module, it's out of the scope of current issue. We should take care of standard Drupal system action to allow users to use system out of the box without problems.
We can commit this patch "as is" for now, and ease life for people right from the next release. But we can also wait for some other solution (which can take up to a year to appear).
Comment #4
infojunkieThought about it more: why not! It's a core action anyway and the improvement is substantial. It's committed now. Thanks.
Comment #5
neochief commentedThanks!
Comment #7
caw67 commenteddid you habe the patch for the 7er version?
Comment #8
bojanz commentedThere will be no D7 patch.
The action can be used with any entity type, and we only guess the correct token for users. I don't see a point of a change that narrow.
You can do that change in your own module if it's important for you.
That said, I've discovered that the core action in D7 for sending email is really crappy (and easy to crash with the wrong token) so it might make sense to have an email action in VBO. Depends on Views Send stabilizing soon, I guess.