I evaluated a bunch of the modules to create referenced nodes (node_widget, autocreate, etc) and found that this one was the closest to what I needed (able to have multiple references, doesn't force me to have any references)

the only problem I had was that I needed the default CCK values to be filled in for the created nodes. I was all ready to dive in to the php deep end and combine autocreate and this module into a frankenstein module that I could use, but some help in IRC pointed me in a different direction which eventually lead to an easier solution

I'm attaching a patch that was inspired by this comment: http://drupal.org/node/293663#comment-1152690

This might be something that should be configured w/ a checkbox on the field config form but that's still a bit beyond me at this point.

hope this patch helps someone...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mitchell’s picture

Status: Active » Needs review
basvredeling’s picture

FileSize
738 bytes

The original patch is out of date, I remade the patch against the current 6.x-1.x branch.
The code itself works. New patch is attached and needs testing.

jackbravo’s picture

Subscribe.

newnewuser’s picture

sub

nfriend’s picture

Thanks so much for this patch - worked great! I had tried to use this very helpful module a while back and couldn't get it to work so I moved on. Really wanting this feature I pressed on this time and realized I had a default toggle cck field that was set to true - meaning include it in certain Views including the one used for the Node Reference auto fill - and once this patch was applied, the field was toggled true and all worked fine.

Good stuff!

-Neil