[support] Node Reference Functionality to Create New Node When Referenced Node Doesn't Exist
John Thomas
drupal.org-2008 at jt-socal.com
Wed Jun 17 15:21:58 UTC 2009
Shai Gluskin wrote:
> Before I submit a feature request on the overworked Views issue queue --
> please tell me there is a helper module that already does this OR some
> kind of solution for this problem:
>
> Drupal setup: D6 with latest versions of cck and views.
>
> Content type 1: Books
> Content type 2: Authors
>
> "Books" has a "node reference" field to "Authors"
>
> *Problem*: in order to successfully complete the form: node/add/books
> the author of the book you are adding most already have a record
> previously entered at node/add/authors.
> *Desired functionality*: When you type in the name of the author to the
> autocomplete field and then click submit, instead of getting an error,
> "Author: found no valid post with that title", Drupal would go ahead and
> create that new node with John Steinbeck as its title. Obviously, the
> the Authors content-type couldn't have any required fields other than
> title. Drupal could assign the author to be the logged in user.
>
> I'm hoping someone is going to tell me that there is a module for this
> or that Views2 can even do it already and that I just missed the settings.
Possibly helpful:
http://drupal.org/project/autocreate
http://drupal.org/project/inline_references
http://drupal.org/project/popups_reference
http://drupal.org/search/apachesolr_search/add%20reference
--
Sincerely,
John Thomas
More information about the support
mailing list