Closed (won't fix)
Project:
Node Reference URL Widget
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Sep 2009 at 03:20 UTC
Updated:
6 Jan 2010 at 23:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
b-prod commentedHere is a patch which creates an action to populate a nodereference URL field with rules. This patch solves a problem which is not exactly the one described above, because it does not handle the filling of the field by searching in the URL.
Actually this patch allow to use tokens, fixed nid or PHP code to fill the nodereference URL field.
Filling the nodereference field by searching in the URL will work in a very few cases: the rule needs to be called from very specific pages URLs. That's why I rather implements a standard way to use rules, which works in standard cases.
Comment #2
b-prod commentedHere is an updated patch. There were an omission in the last file: I forgot to modify the #value key by #default_value.
Comment #3
Parkes Design commentedHi B-Prod, Thanks for the patch. I'll give it a go and report back :-)
Comment #4
quicksketchI do not use or support Rules. I would prefer not to add this because I am completely unable to test or support this functionality.