In a few words. Yes it works but dont parse the node title, parse the nid.
It will probably have a name like noderef_field_name][0][nid][nid] - so add square brackets around the array name and remove one of the [nid] references.
Like - <a href="/node/add/thing?edit[noderef_field_name][0][nid]=<?php print $nid; ?>>link to node reference</a>
- mark's blog
- 6582 reads
Email this page
Post to Twitter


Comments
not working for me
I tried this but in my nodereference field all I see is "[nid:$132]"
Any idea what I could be doing wrong?
Did we solve this on
Did we solve this on Drupal.org already?
Worked Perfectly
Thanks
If you are working with
If you are working with entity reference module, have a look at this issue:
http://drupal.org/node/1263118
Post new comment