I have a rule which is triggered when a node is flagged. Currently, the rule loads some content (1) that has been referenced by a field on the flagged content. I have set the rule to create a new piece of content (2) and would like a node reference field on this new piece of content to reference content (1). I know there is a way to do this with PHP but am not sure of it...
feedback
|
This should actually be pretty simple:
Note: You can find the field names by going to admin/content/types and click "Manage Fields" on the content type you want OR you can do a Now when you view your rule, you should see something like: and whenever you use that flag, a new node will be created having the same reference as the node you flagged. | |||||||||||
feedback
|