Is it possible to return the node ID of the auto-created node instead of it's title?

Comments

sunset_bill’s picture

Assigned: Unassigned » sunset_bill
Status: Active » Closed (works as designed)

It'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