I have a view relating different types of information together. I have a node type and 2 relation types. The base node is related to other nodes using the 2 relations.
Lets say there are 3 fields in the view listing: the base node and 2 other nodes related to the base node:
- nid of the "base node"
- nid of a related node (using relation1)
- nid of another related node (using relation2)
I like to do some action with the base node using views bulk operations. In this custom action I like to use the nids of the other 2 nodes.
My problem is, you can only use one of the three nodes in the action, depending on what you selected in the bulk operations field.
Is there a way to pass ALL three nids?
I know I can use views php to create a hidden field, containing the other two nids and then use the hook_form_submit to hook into the submitted form.
But is there a more elegant way, only to use the custom action, without hooking the submitted views form?