Active
Project:
Node Reference Create
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 08:15 UTC
Updated:
26 May 2011 at 23:36 UTC
Very helpful module indeed, but I would like to ask you to add one more feature. When a node reference field links to more then one content type then noderefcreate should give you the opportunity to decide which type the new node will be.
Comments
Comment #1
mitchell commentedI like this idea. Patches welcomed.
Comment #2
Flying Drupalist commentedNice idea.
Comment #3
Fidelix commentedSub...
Comment #4
akalata commentedAny ideas on how to approach this on a conceptual level within the code?
For the UX side, I can see some sort of confirmation on initial node save (which is when I'm guessing the nodes are created?), where you can then select the node type.
Or, a different workflow might be a link (per type) that takes you to the node/add page, which would loop back to your current node edit/add page and autofill the next empty field.
Comment #5
jackbravo commentedAn approach to solve this could be to, if no match is found, inject in the options values like:
- The title you entered [content type 1]
- The title you entered [content type 2]
That could mean implementing our own node_reference_potential_references() or maybe just our own node_reference_autocomplete function where we add some values to the options.