Automatically create nodes for CCK node reference entries
After searching the modules-list, the forums and even aunt-google for quite some time, now, finally, here's a post:
Imagine the functionality of the Movie Database-module. There you can enter names of several persons related to the movie, you are creating (director, writer, producer, actors). When you hit save, the node for the movie and a node for every person is created automatically, if they don't exist already.
Since movie db doesn't work, I tried to do this with CCK. I created a node-type "movie" and a node-type "movieperson". For the movie-node-type I created a 'Node reference'-field with auto-complete and unlimited entries. But this field only allows to reference already existing nodes. What I want is, that all names entered there are checked and if there is no movieperson-node for a name, yet, it is created and referred on hitting save.
There are several modules to create and reference nodes, the closest to my requirement is 'Popups: Add & refer'. But none of them does it automatically. And 'Popups: ...' has a known bug with unlimited reference-fields.
If there's a thread for it, please link.
If you have a solution, please tell me.
If you have an idea, please do so, too. ;o)
Thx & Gtx,
Felix aka YAFA

There are several module to
There are several module to do this:
http://drupal.org/project/autocreate
http://drupal.org/project/nodereference_subform
--
Aries