I use "action" to process the selected nodes.
I have two questions:
1. I noticed that the selected nodes show up as "updated" after the operation. However, inside my action, I don't update the selected nodes. I don't know if this is the correct behavior. Is there an option to avoid this?
2. I also see a drupal message showing up at the page top, it looks something like:
5 rows processed:
perform myaction on object x1
perform myaction on object x2
....
Is there a way to mask off the message?
thanks!
Comments
Comment #1
infojunkie1. By default, the module saves each node after executing the operation. But looking at the code again, I noticed that the action property "changes_node_property" gives a hint as to whether the action modifies the node or not. I will update the code to check for that property before saving the node.
2. There is currently no way to mask this message. I will add an option to display or mask the message in the view admin screen.
Comment #2
infojunkieBoth issues are fixed. Please try them and let me know. Note that you will need to wait until Drupal.org refreshes the dev release with these commits.
Comment #3
newbuntu commentedit's working. Thanks a lot!