It would be *really* sweet to use Contextual Administration to create new node (or general entities) and use contextual data to set default values. In a dream scenario, each field on the node create forms would have these three options:
1) Display as normal
2) Set a default value (+ fields for setting default values, respecting replacement patterns)
3) Set a default value and hide the field
I know this is not really an easy task. And I'm not 100% sure this should be in Contextual Administration – Panels already has functionality for displaying each field at a time, and maybe it makes sense to put this functionality there.
Anyway, I wanted to get this idea out of my head and share it somewhere.
Awesome module. As always.
Comments
Comment #1
Shadlington CreditAttribution: Shadlington commentedOh man, this would be crazy awesome.
+1 gazillion
Comment #2
odegard CreditAttribution: odegard commentedThis would solve my exact problem as well.
There is a "Create Node with auto node reference" option and although you can add as many arguments you want, only one of the can be used as a node reference AFAIK. In my particular scenario, I need fill out two node refs. A more general approach as described by OP would solve it very elegantly.
Comment #3
webankit CreditAttribution: webankit commented+1
Comment #4
EclipseGc CreditAttribution: EclipseGc commentedSo, I've been thinking about this for quite a while now, and have some thoughts, but ultimately I think it's going to have to wait for a 2.x branch. I'm sorry about that, but the existing UI can't do what I need, and we are just going to have postpone this.
Comment #5
EclipseGc CreditAttribution: EclipseGc commentedThis is still postponed, but I did commit a few changes today that should make this more doable in the long run.