Closed (works as designed)
Project:
Autocreate Node Reference
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Feb 2009 at 01:15 UTC
Updated:
10 Feb 2009 at 15:31 UTC
Is it possible to return the node ID of the auto-created node instead of it's title?
Comments
Comment #1
sunset_bill commentedIt's possible to have the module return the node ID instead of the title, but what it's really intended to do is return a link, so I'm going to stick with the title for that. ;^)
If you need the nid of a referenced node for other purposes and want to hack on autocreate.module a bit, it's available in the theme_autocreate_formatter_default() function when a node (with its references) is rendered, or in the anr_clone_node() function when a clone is created.
ciao,
Bill